Create a bearer token

Exchanges Auth Key credentials for a scoped bearer token.

post/token

Request

  • Base URL: https://api2.transloadit.com
  • URL: https://api2.transloadit.com/token
  • Auth: one of:
    • HTTP basic
    • none

Response

Successful response

access_tokenstring required

The token to send in the Authorization header of subsequent API requests. Keep it secret.

expires_ininteger required

Token lifetime in seconds from issuance. Request a new token after it expires.

refresh_tokenstring

Returned by the authorization_code and refresh_token grants. Present it to POST /token with grant_type=refresh_token to obtain a new pair; every use rotates it and reuse of a rotated token revokes the whole lineage.

scopestring required

Space-separated scopes granted to this token.

token_type'Bearer' required

Changes

No recorded changes to this operation across all 1 revision of this API.