> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Token

## Request

<ParamField path="client_id" type="string" required>
  Your app's client ID. You can find this in your app's settings pages at
  [build.attio.com](https://build.attio.com).
</ParamField>

<ParamField path="client_secret" type="string" required>
  Your app's client secret. You can find this in your app's settings pages at
  [build.attio.com](https://build.attio.com).
</ParamField>

<ParamField path="grant_type" type="string" required>
  The grant type. This should always be `"authorization_code"`.
</ParamField>

<ParamField path="code" type="string" required>
  The code which you received after being redirected from the `/authorize` endpoint.
</ParamField>

## Response

<ResponseField name="access_token" type="string" required>
  An access token for the workspace which can be used to make authenticated requests to the Attio
  REST API.
</ResponseField>

<ResponseField name="token_type" type="string" required default="Bearer">
  The type of token. Always `"Bearer"`.
</ResponseField>
