Using an authorization code
Use the token endpoint to retrieve an access token which can be used to authorize API
requests. This endpoint supports the Authorization Code grant, the Refresh Token grant and the Client Credentials grant.
Body
application/x-www-form-urlencoded
Body
Application client ID.
Example:00000000-0000-0000-0000-000000000000
Application client secret.
Example:00000000-0000-0000-0000-000000000000
The Authorization Code returned from the Authorize application request.
Example:6440327e7ddb660435e377a17a5463ba
Identifies the grant type being used. For Authorization Code grant use authorization_code.
Example:authorization_code, refresh_token, client_credentials
The URL specified in the Authorize application request, the values must match.
Example:https://localhost/callback
List of scopes to request to be granted to the access token. Can only be a subset of the scopes requested in the Authorize application request. When not passed, all the scopes will be requested.
Example:offline asset:read
Response
200 application/json
Response
Successful response
Example:eyJh...NDcw
Example:3600
Example:c12e...b5dc
Example:offline asset:read
Example:bearer
Using client credentials
Use the token endpoint to retrieve an access token which can be used to authorize API
requests. This endpoint supports the Authorization Code grant, the Refresh Token grant and the Client Credentials grant.
Body
application/x-www-form-urlencoded
Body
Application client ID.
Example:00000000-0000-0000-0000-000000000000
Application client secret.
Example:00000000-0000-0000-0000-000000000000
Identifies the grant type being used. For Authorization Code grant use authorization_code.
Example:authorization_code, refresh_token, client_credentials
List of scopes to request to be granted to the access token. Can only be a subset of the scopes requested in the Authorize application request. When not passed, all the scopes will be requested.
Example:offline asset:read
Response
200 application/json
Response
Successful response
Example:eyJh...NDcw
Example:3600
Example:c12e...b5dc
Example:offline asset:read
Example:bearer
Using a refresh token
Use the token endpoint to retrieve an access token which can be used to authorize API
requests. This endpoint supports the Authorization Code grant, the Refresh Token grant and the Client Credentials grant.
Body
application/x-www-form-urlencoded
Body
Application client ID.
Example:00000000-0000-0000-0000-000000000000
Application client secret.
Example:00000000-0000-0000-0000-000000000000
Identifies the grant type being used. For Authorization Code grant use authorization_code.
Example:authorization_code, refresh_token, client_credentials
Refresh token returned from the Retrieve token request.
Example:c11e...b5bc
Response
200 application/json
Response
Successful response
Example:eyJh...NDcw
Example:3600
Example:c12e...b5dc
Example:offline asset:read
Example:bearer
Retrieve scopes
Retrieve a JSON formatted overview of the existing scopes within Bynder and the required user permissions.
Response
200 application/json
Response
Successful response