Create or upsert a record via the Attio Records API

domain: docs.attio.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Verify Attio webhook signatures — the full failure-mode walkthrough related to docs.attio.com, checked against official docs, with linked verified routes.

Steps

  1. Authenticate with a Bearer OAuth 2.0 token that has record_permission:read-write and object_configuration:read scopes.
  2. To create a new record, send POST /v2/objects/{object}/records with body {"data":{"values":{...}}} mapping attribute slugs/IDs to values.
  3. To upsert instead, send PUT /v2/objects/{object}/records with the same body plus a required matching_attribute query parameter naming a unique attribute (e.g. email_addresses) to match on.
  4. If a record matches the given matching_attribute value it is updated, otherwise a new record is created.
  5. Note that PUT create throws an error if a value collides with an existing unique attribute outside the specified matching_attribute.

Known gotchas

Related routes

Attach a note to a record via the Attio Notes API
docs.attio.com · 5 steps · unrated
Create and manage Attio objects and records via the REST API
developers.attio.com · 5 steps · unrated
Query records within an Attio list via the API
docs.attio.com · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans