Create an application token
Creates an application token for the requesting organisation and returns it.
The token itself is only available from this response and cannot be retrieved later, so store it immediately. The number of active tokens an organisation may hold is limited.
To move from the v1 endpoints, see Migrate to the v2 application token API.
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Request
Name of the application token. Letters, numbers, spaces including the full-width space, and - _ . : / ( ) [ ] @ + # are allowed, as are full-width parentheses.
Expiry date in ISO 8601 format, either 2027-08-21T10:00:00.000Z or 2027-08-21 10:00:00.
A value carrying no time zone is read as UTC.
Must be at least one day in the future and at most 10 years in the future.