OAuth 2.0

Token Endpoint

Use open source libraries to perform OAuth 2.0. You can find a list of libraries here: https://oauth.net/code/

post/oauth/token

Request

  • Base URL
    https://app.attio.com
  • URL
    https://app.attio.com/oauth/token
  • Auth
    none declared

Request body application/x-www-form-urlencoded

client_idstring uuid required

The client ID of your integration (this can be found in your integration settings page).

client_secretstring required

The client secret of your integration (this can be found in your integration settings page).

grant_type'authorization_code' required

The grant type. This should always be authorization_code.

codestring required

The code which you received after redirecting from the /authorize endpoint.

Example request

{
  "grant_type": "authorization_code"
}

Response

Success

access_tokenstring required

An access token for this workspace.

token_type'Bearer' required

The type of token.

Changes

No recorded changes to this operation across all 1 revision of this API.