---
title: "How to Get an Attio API Key and Make a First Call"
description: "Attio API requires bearer token authentication. You'll create one in workspace settings and test it with your first API request."
url: https://www.activepieces.com/blog/how-to-get-an-attio-api-key-and-make-a-first-call
updated: 2026-12-03
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL, or send `Accept: text/markdown`. Site index: https://www.activepieces.com/llms.txt

# How to Get an Attio API Key and Make a First Call

By Petra Vlk · December 3, 2026 · 14 min read · Filed under [Automation tutorials](https://www.activepieces.com/blog/category/automation-tutorials)

**Summary**

Get an Attio API key from your workspace's developer settings, then test it by calling the /v2/objects endpoint with a bearer token.

- Attio's rate limit is 100 reads per second and 25 writes per second.
- Attio publishes 13 scopes across six areas; Lists offers 4, Webhooks offers 1.
- People records have 12 writable attributes; Deals have 6; Users have 4.

Getting a first authenticated request through takes one copied token in one header, because Attio's API is a REST API that accepts a bearer token created in your workspace settings, the same kind of token that tools like [Activepieces](https://www.activepieces.com) use when they connect to it.

![A single bearer token on a small card being slotted into one header line of an HTTP request sheet, which is fed into the…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/b4e653ab-9132-4845-bf13-02d73f43a3cd/how-to-get-an-attio-api-key-and-make-a-first-cal-e8d28c7a.webp)

By the end of this section you'll have four things working, each a check you can rerun when something later breaks:

## Get Attio API key and test it

- A token with only the scopes your integration needs.
- A call that lists your workspace's objects.
- A filtered query against people records.
- A rate limit you have looked up and written down, not discovered from an error.

### What the Attio API lets you do

You can script anything you'd do by hand in the interface, because the API reads and writes the same records you see in the app: objects such as people and companies, their records, and the attributes on them.

You can also pass the work to a no-code tool, though writing one raw request first shows you exactly what that tool will be sending on your behalf.

### Attio API key plan and role requirements

Whether you can create a token depends on your role in the workspace and on whether your plan includes API access, since it is a workspace-level action.

This article doesn't state a plan tier, because the plan requirement is the docs' to give and it changes.

Read the current statement in the [Attio developer documentation](https://docs.attio.com) before you assume your plan qualifies. If the token option is missing from your settings, check your role and plan first, not your code.

This section was checked on 3 December 2026. Its only source is the [Attio developer documentation](https://docs.attio.com). Where the docs and this article disagree, the docs win.

## Generate Attio API key and choose scopes

### Create the token and choose scopes

Create the token in your workspace's developer settings, name it for the job it serves, and tick only the scopes that job needs; the scope list is where over-permissioning starts. The published scope list totals 13, across six areas.

![A token settings form with a list of 13 scope checkboxes, only a few ticked, with the token named for its job on a tag…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/3a685001-e988-41de-8663-be582a29983e/how-to-get-an-attio-api-key-and-make-a-first-cal-3bede1d9.webp)

Look at Lists first: [Attio's scope listing](https://apis.io/scopes/attio/attio-scopes/) gives it 4 scopes, the widest area, so most of your granting decisions land there. Records, Notes, Tasks and Comments have 2 each, so each area gives you a narrow choice rather than a menu.

![How Attio's API scopes divide across resource areas](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/c95a78e4-d56b-4a65-a2af-66fc2e5b6981/how-to-get-an-attio-api-key-and-make-a-first-cal-37ebf359.svg "Source: Attio")

There's no way to grant a narrower webhook permission than the whole thing, because Webhooks has 1.

| | API token | OAuth 2.0 app |
|---|---|---|
| Suited to | Your own scripts and internal automations in one workspace | Software that other workspaces'll connect to |
| Credential owner | The workspace that issued it | The app, with a separate grant per connecting user |
| Scopes granted | By you, once, when creating the token | By each user, at the consent screen |
| If the creator leaves | Check this first: the token is only as stable as the access of whoever made it | The app registration outlives individual users, but each user's grant can be revoked |

Pick the token if you control the workspace. Pick OAuth only when someone else's data is on the other end of the connection.

### Store your Attio API key securely

Copy the token the moment it's shown and put it in a secrets manager or an environment variable, never in the repository. Treat a token pasted into chat or committed to a repo as leaked, and replace it.

![A freshly created token being placed into a locked secrets manager vault, with an environment variable file nearby, while a…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/3a50280a-6b72-46f1-a954-8fa916910640/how-to-get-an-attio-api-key-and-make-a-first-cal-eda83b25.webp)

Give each integration its own token. When one is revoked, only the job that used it stops, and you know which job that was.

Write down who created each token and which scopes it carries.

## Send minimal working Attio API request

To prove the key works with the smallest possible request, send a GET to `/v2/objects` with your Bearer token. It also shows which objects that credential can see before you build anything on it.

Run these steps in order.

1. Export the token as an environment variable: `export ATTIO_API_KEY="your-token"`.
2. Call `curl https://api.attio.com/v2/objects -H "Authorization: Bearer $ATTIO_API_KEY"`.
3. Read the object slugs in the response, such as `people`, `companies` and `deals`. You use these slugs in every later URL.
4. Query people with `POST /v2/objects/people/records/query`, sending a `filter` and a `limit` in the JSON body.
5. Read the `data` array in the response. Each item is one record.

If step 2 returns a 401, the token's wrong. An empty or short object list means the scopes are narrower than you assumed.

### Query Attio people records with a filter

Always send a `limit`. Without one, you're asking for whatever the default page returns, and **you won't notice until a dataset grows**.

Expect the most mapping on people: [Attio](https://attio.com/pricing)'s [People documentation](https://docs.attio.com/docs/standard-objects/standard-objects-people) lists 12 writable attributes on them. Deals have 6, so a deal payload is half the size and easier to get right. Users have 4, so there's little to fill in.

![Writable attributes on Attio's standard objects](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/9807638e-de4a-4c9d-a169-56b0f57c1a9a/how-to-get-an-attio-api-key-and-make-a-first-cal-e94443b0.svg "Source: Attio")

*(chart: writable attributes on People, Deals and Users)*

To avoid duplicates, send a `PUT` to `/v2/objects/people/records` with a `matching_attribute` query parameter, such as `email_addresses`. Attio then updates the record that matches and creates one only if none does.

Without it, **a retried job creates a second person** for the same email address, and you find out when someone asks why a contact appears twice.

## Understand Attio API rate limits, quotas and pricing

Retry a job and you spend quota twice as well. Attio allows 100 read requests per second and **25 write requests per second**, per its [rate-limiting guide](https://docs.attio.com/rest-api/guides/rate-limiting), checked 3 December 2026.

![Attio API read rate limit against other CRM APIs](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/361fe5b8-40f6-4739-9f04-28fa5b7d8277/how-to-get-an-attio-api-key-and-make-a-first-cal-317f6b3c.svg "Source: Attio")

**Writes are the tighter budget**, so a bulk import is the job that hits the ceiling first.

### Documented request limits

Against two rival CRMs, HubSpot and Pipedrive, the chart shows Attio's read limit well above theirs; its write limit is the one to plan around.

Where Attio's API rate limits sit against peers

100 reads per second is Attio's limit, against 40 on Pipedrive Platinum, 20 on Pipedrive Growth and 10 on Pipedrive Lite. HubSpot's top plan allows 19, and Pipedrive's search endpoint allows 5.

![Activepieces workflow builder showing a Send HTTP request step configured with Google Search RapidAPI credentials.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/da977bec-9b3b-44ea-89dc-d64f009a35fe/opus-clip-integration-how-to-set-it-up-2026-guid-8ea5333c.webp)

If you port code from either rival, it won't throttle on reads, but a sync built around Attio's 25 writes per second can stall if it's moved to a lower-limit system. Every figure in this paragraph comes from the same Attio guide.

When you exceed a limit, Attio answers with HTTP 429. Read the retry header on that response and wait that long. A loop that retries immediately turns one rejected call into a burst of them.

There is no price per request in the rate-limiting guide, only limits, and we found no per-call charge on it. Cost therefore doesn't scale with call volume; the constraint is how many requests per second you may send.

Check your plan's terms before assuming that holds for your account.

### Attio API pagination and result limits

Since the confirmed figures here don't include a maximum page size, this guide states none. What matters is that every page is a request. Pulling a large list in pages draws on the same 100-per-second read budget as everything else your integration does.

Fetch pages sequentially, and filter on the server rather than downloading records to discard them. A filtered query that returns 200 records costs a handful of reads, where a full export costs as many pages as you have records to cover.

If you'd rather not write that paging loop, Activepieces is an open-source AI automation platform that lets you use Attio in flows without code, and if an endpoint you need is missing, you can generate a integration with AI and add it privately to your own instance.

The integration is one of 751 in the open source monorepo, a count taken directly from `packages/pieces/community` under an MIT-licensed core, so what it covers is readable source, not a feature list.

## Handle common Attio API errors

Those reads are what you spend on a 429. **Most Attio errors aren't about volume at all**: they come from a wrong token, a missing scope, a bad slug or a bad value, and only 429 needs retry logic.

In the table below, each status comes with its usual cause and the fix. I inferred every row from standard REST behaviour rather than confirming it against Attio's error documentation, so treat each as a lead to check in your own logs.

> Most Attio errors aren't about volume at all: they come from a wrong token, a missing scope, a bad slug or a bad value, and only 429 needs retry logic.

| Status | Typical cause | Fix | Documented or inferred |
|---|---|---|---|
| 400 | Malformed body or filter | Validate the payload shape before sending | Inferred |
| 401 | Missing, revoked or mistyped token | Reissue the key, check the header | Inferred |
| 403 | Token lacks the scope for this object | Add the scope, then retest | Inferred |
| 404 | Wrong object slug or record id | Fetch slugs from the API, not memory | Inferred |
| 409 | Conflicting write | Re-read the record, then retry once | Inferred |
| 422 | Value fails an attribute's type | Match the attribute's configured type | Inferred |
| 429 | Too many requests | Back off, then resume | Inferred |

When you see a 401, the token itself isn't accepted. A 403 means it's accepted but not allowed to do this. Scopes are the usual culprit, so check the token's access against the exact object and action that failed before changing any code.

### Fix Attio API 400 and 404 errors

Most of these come from using a display name where a slug is required, or a value that doesn't suit the attribute's type. List objects and attributes through the API and copy their identifiers.

For writes that may run twice, use an upsert on a unique attribute so a repeat updates the record instead of duplicating it. When listing, follow the cursor the response gives you rather than guessing offsets.

For a 429, wait, then retry, with growing pauses and some randomness so parallel workers don't retry in step. Attio answers an exceeded limit with HTTP 429 and a Retry-After header, so read that header on the response you receive.

Verify each webhook's signature before acting on it, using the method in Attio's webhook docs. Acknowledge quickly, process afterwards, and make the handler safe to run twice, because redelivery is a normal part of webhook systems.

## Call the Attio API without code using Activepieces

Whether you use the Attio integration or a integration you generated with AI and added privately to your own instance for an endpoint the Attio integration lacks, Activepieces calls Attio for you, so the same 100 reads and 25 writes per second apply to every step.

A flow can also run twice, so the rule from webhooks, safe to run twice, applies here as well.

### Create a connection with scoped token

Add the Attio integration to a flow and create a connection with a token you scoped yourself. The connection holds the credential, so every step in the flow acts with exactly the access you granted.

If a step fails with a permission error, it is most likely the 403 from the table above: the token lacks a scope, one of the 13 Attio publishes. Adding it to the token in Attio is the fix, not a change in Activepieces.

Start with a small first workflow: a trigger, then one Attio action that creates or updates a record. Choose the update-or-create style of action where the integration offers one, and match on an attribute that identifies the record, such as an email address.

A repeated run then updates the record instead of duplicating it.

### Use the custom API call for missing endpoints

When the integration has no action for what you need, use its custom API call step. You give it the method, the path and a JSON body, and it sends the request using your connection.

![Activepieces workflow builder with HTTP request step selected and its settings panel open showing method, URL, headers, and…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/9e36e973-de4a-435f-8912-12e666216b2d/self-host-mistral-ai-enterprise-deployment-guide-3f7fe28d.webp)

You're then working against the raw API, so the object, attribute and response shapes are the ones in Attio's developer documentation, and the same scope rules apply.

Don't expect the step to soften Attio's rate limits. A flow that loops over many records still sends them at whatever pace you set, so the throttling and the 429 handling remain your job.

Each line below is one decision you make once, before the flow handles real data, and together they are what the preceding sections reduce to.

- Scope the token to the objects the flow needs, so a leaked token reaches only those.
- Store it in a secret manager, not in a step's text field or a shared document.
- Cap write calls under 25 per second, so a burst of updates stays clear of 429 responses.
- Add a retry on 429 that waits before resending, so a rejected call is delayed, not lost.
- Upsert on a matching attribute, so a rerun updates a record instead of creating a second one.

## Frequently asked questions

After the five checks, some questions stay open, and each answer below is marked sourced or unconfirmed so you know how far to trust it.

### Is the Attio API free to use?

Whether the free plan includes API access is unconfirmed. Check the current pricing page and your workspace's developer settings before you plan a build around it.

If the plan you pay for doesn't cover API access, you'll find out when the first token request fails, which is a bad moment to learn it. Treat the same check as open for webhook signing.

### Does Attio have an official SDK or an OpenAPI spec?

Unconfirmed. Attio documents a REST API, and plain HTTP calls work without any client library. Whether an official SDK or a published OpenAPI spec exists is something to verify in the developer docs.

Until you have, don't generate a client from a spec you assume is there, and don't depend on a community library that may lag behind the API.

### Can I use the Attio API to sync data in both directions?

Yes in principle, sourced to the API's documented behavior: you can read and write records over REST, and webhooks can notify you of changes.

What the docs don't hand you is conflict handling. If both systems edit the same record, **nothing decides which write wins**.

You have to choose a source of truth per field and ignore the echo of your own writes, or two systems will overwrite each other in a loop. How webhook delivery behaves under retries is unconfirmed, so build the receiver to tolerate duplicates.

### How do I rotate or revoke an Attio API key?

The exact menu path is unconfirmed, so follow the developer docs and your workspace settings rather than a screenshot from someone else's account. The safe order doesn't depend on the interface:

1. Create the new token.
2. Deploy it to every service that calls Attio.
3. Confirm requests succeed with it.
4. Delete the old token.

**Reversing steps 2 and 4 is how a rotation becomes an outage.**

## Related reading

- [Notion API Quickstart: Get a Key and Make Your First Call](https://www.activepieces.com/blog/notion-api-quickstart-get-a-key-and-make-your-first-call)
- [How to Automate AI Call Notes to CRM Syncing](https://www.activepieces.com/blog/how-to-automate-ai-call-notes-to-crm-syncing)
- [Retell AI Pricing per Minute in 2026 by Call Mix](https://www.activepieces.com/blog/retell-ai-pricing-per-minute-in-2026-by-call-mix)

## References

- [Attio](https://docs.attio.com/rest-api/guides/rate-limiting)
- [Attio](https://docs.attio.com/docs/standard-objects/standard-objects-people)
- [Attio](https://apis.io/scopes/attio/attio-scopes/)
