Retrieve authentication token

Returns a [JSON Web Token (JWT)](/developers/auth/jwts) `auth_token` for authenticating further requests to the API. <Note> This API path has a rate limit of 100 requests per IP in a 5-minute window. Make sure to store your authentication token to avoid hitting this limit. For more information, see [Rate limits](/developers/api-guidelines/rate-limits). </Note>

Request

Authenticate with an application token or user credentials. <Warning> To improve security across our services, **authentication with user credentials has now been deprecated.** Please [authenticate with application tokens](/developers/auth/application-tokens) instead. </Warning>
application_tokenstringOptional
usernamestringOptional
passwordstringOptionalformat: "password"
refresh_tokenstringOptionalformat: "string"

Response

Successful Authentication Request
auth_tokenstring or null
refresh_tokenstring or null

Errors