POST
/
oauth
/
token
Token
curl --request POST \
  --url https://app.attio.com/oauth/token
{
  "access_token": "<string>",
  "token_type": "<string>"
}

Request

client_id
string
required
Your app’s client ID. You can find this in your app’s settings pages at build.attio.com.
client_secret
string
required
Your app’s client secret. You can find this in your app’s settings pages at build.attio.com.
grant_type
string
required
The grant type. This should always be "authorization_code".
code
string
required
The code which you received after being redirected from the /authorize endpoint.

Response

access_token
string
required
An access token for the workspace which can be used to make authenticated requests to the Attio REST API.
token_type
string
default:"Bearer"
required
The type of token. Always "Bearer".