Skip to content

Atto Developer Documentation (all)

Download OpenAPI description
Languages
Servers
UK Environment (Production)

https://uk.api.atto.co/

US Environment (Production)

https://us.api.atto.co/

Operations

Using the access token

Once you have the access_token, you'll assign it to the Authorization header with a prefix of Bearer. More information can be found here.

Request a token for the provided scope and grant type (only client_credentials supported)

Request

Bodyapplication/x-www-form-urlencoded
grant_typestring
client_idstring
client_secretstring
scopestring
curl -i -X POST \
  https://uk.api.atto.co/v1/oauth2/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d grant_type=string \
  -d client_id=string \
  -d client_secret=string \
  -d scope=string

Responses

Returns a token.

Bodyapplication/json
tokenTypestring or null
expiresIninteger(int64)
accessTokenstring or null
Response
application/json
{ "tokenType": "string", "expiresIn": 0, "accessToken": "string" }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations