Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.
VariableRequiredDescription
ATTIO_CLIENT_IDYesAttio OAuth Client ID Docs.
ATTIO_CLIENT_SECRETYesAttio OAuth Client Secret Docs.

Setup

  1. Create an Attio app: Go to the Attio developer dashboard at https://build.attio.com/ and create a new app. Any Attio workspace (including the free plan) can be used for development.
  2. Configure OAuth: In the app’s OAuth settings, add the redirect URI <your-app-url>/api/auth/attio/callback and select the scopes object_configuration:read, record_permission:read-write, and list_configuration:read.
  3. Set credentials: Copy the client ID and client secret from the app settings into your .env as ATTIO_CLIENT_ID and ATTIO_CLIENT_SECRET.
  4. Verify access: Complete the OAuth flow, then run the List Objects tool followed by Query Records on the people object.
  • Attio access tokens expire; refresh tokens are exchanged at https://app.attio.com/oauth/token with grant_type=refresh_token
  • Client credentials are sent in the POST body (application/x-www-form-urlencoded) at the token endpoint
  • Record values use Attio’s attribute-value format: values are arrays of { value } entries keyed by attribute slug
Provider API reference: https://docs.attio.com/rest-api/tutorials/connect-an-app-through-oauth

Tools

ToolAccessDescription
List ObjectsReadList object types in the Attio workspace (people, companies, deals, and custom objects)
Query RecordsReadQuery records of an object with optional filters and sorts
Get RecordReadGet a single record of an object by ID
Create RecordWriteCreate a new record of an object (person, company, deal, or custom object)
Update RecordWriteUpdate attribute values on an existing record
List ListsReadList all lists in the Attio workspace

Example prompts

  • Query my Attio companies for a name and show the matching records with their key attributes.
  • Create a new person record in Attio with a name and email address.