Tokens
Create new access and refresh tokens
POST
The refresh token is returned in the body of the request or as a hardened cookie, depending on configuration. A cookie should be used when the client is running in an insecure environment such as a web browser, and cannot adequately protect the refresh token against unauthorized access.
basic_authheader
AuthorizationBasic <token>OK
application/json- response
access_token?stringrefresh_token?stringaccess_expiration?stringFormat
date-timerefresh_expiration?stringFormat
date-timecurl -X POST "https://example.com/api/tokens"{ "access_token": "string", "refresh_token": "string", "access_expiration": "2019-08-24T14:15:22Z", "refresh_expiration": "2019-08-24T14:15:22Z"}