Returns a token.
API Reference//
- Request a token for the provided scope and grant type (only client_credentials supported)
 
Overview 
Integration 
Using the access token 
Request a token for the p...
Atto Developer Documentation (all)
Download OpenAPI description
Overview
URL
API Support
License
Languages
Servers
UK Environment (Production)
https://uk.api.atto.co/
US Environment (Production)
https://us.api.atto.co/
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.
- UK Environment (Production)
https://uk.api.atto.co/v1/oauth2/token
 - US Environment (Production)
https://us.api.atto.co/v1/oauth2/token
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
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=stringResponse
application/json
{ "tokenType": "string", "expiresIn": 0, "accessToken": "string" }