v1

latestOpenAPI 3.1.02026-07-1342111193.6 KB
Auth

Create an Access Token

Use your API credentials to create an Access Token that has permission to use all Arcadia API endpoints.

API access tokens are valid for 2 hours.

post/auth/access_token

Headers

Arcadia-Versionstring required

The Arcadia-Version for the request

Request body

client_idstring required

Your client ID, provided by Arcadia.

client_secretstring required

Your client secret, provided by Arcadia.

Example request

{
  "client_id": "Lttwdte5TofL4X3JI0kGbu_E5k7Uv9tT8xBD6GBXcT0",
  "client_secret": "34_whUQ99g5A07cOHCSz3PfNMHOmsNwUcrS8kFlkiAw"
}

Response

Success

access_tokenstring required

The access token to be used for subsequent requests.

expires_ininteger required

The number of seconds until the token expires.

token_type'Bearer' required

The type of token. This will always be "Bearer".

scope'write' | 'connect_token' required

The scope of the token.

created_atinteger required

When the token was created. Provided in Unix timestamp format.

Example response

{
  "access_token": "6-3MbUgRHRV-nNDcgsLpDWQ4hYsZToWZgpf-mfM7ICo",
  "expires_in": 7200,
  "token_type": "Bearer",
  "scope": "write",
  "created_at": 1611205026
}
All 59 operations