Darwin Contacts API
The Contacts API from Darwin — 2 operation(s) for contacts.
The Contacts API from Darwin — 2 operation(s) for contacts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/meetdarwin-ai:meetdarwin-ai-contacts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Meetdarwin Ai Contacts API
version: '2026-10-12'
contact:
name: Darwin
url: https://docs.meetdarwin.ai/api-reference/introduction
description: 'Operations tagged Contacts across 2 of this provider''s published API definitions: meetdarwin-ai-mcp-openapi.json, meetdarwin-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.meetdarwin.ai/v1
security:
- bearer: []
tags:
- name: Contacts
paths:
/contacts:
get:
operationId: listContacts
summary: List contacts
tags:
- Contacts
description: Requires the `contacts:read` scope.
x-darwin-scope: contacts:read
parameters:
- name: limit
in: query
required: false
description: 1 to 100; default 25.
schema:
type: integer
minimum: 1
maximum: 100
- name: starting_after
in: query
required: false
description: The next_cursor from the previous page.
schema:
type: string
- name: updated_since
in: query
required: false
description: Only contacts changed since.
schema:
type: string
format: date-time
- name: created_since
in: query
required: false
description: Only contacts first stored since.
schema:
type: string
format: date-time
- name: email
in: query
required: false
description: The contact with this email.
schema:
type: string
- name: external_id
in: query
required: false
description: The contact with this external_id.
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- object
- data
- has_more
- next_cursor
properties:
object:
const: list
data:
type: array
items:
$ref: '#/components/schemas/Contact'
has_more:
type: boolean
next_cursor:
type:
- string
- 'null'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
post:
operationId: upsertContact
summary: Create or update a contact by email
tags:
- Contacts
description: Requires the `contacts:write` scope.
x-darwin-scope: contacts:write
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Retry safely: the first response is replayed for 24 hours (not for streamed answers).'
schema:
type: string
maxLength: 255
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContactCreate'
responses:
'200':
description: The contact existed and was updated.
content:
application/json:
schema:
$ref: '#/components/schemas/Contact'
'201':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Contact'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
servers:
- url: https://api.meetdarwin.ai/v1
/contacts/{id}:
get:
operationId: getContact
summary: Retrieve a contact
tags:
- Contacts
description: Requires the `contacts:read` scope.
x-darwin-scope: contacts:read
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Contact'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
patch:
operationId: updateContact
summary: Update a contact
tags:
- Contacts
description: Requires the `contacts:write` scope.
x-darwin-scope: contacts:write
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: 'Retry safely: the first response is replayed for 24 hours (not for streamed answers).'
schema:
type: string
maxLength: 255
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContactUpdate'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Contact'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
delete:
operationId: eraseContact
summary: Erase a contact and everything that names them
tags:
- Contacts
description: Requires the `privacy:write` scope.
x-darwin-scope: privacy:write
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: 'Retry safely: the first response is replayed for 24 hours (not for streamed answers).'
schema:
type: string
maxLength: 255
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- id
- object
- deleted
- erasure
properties:
id:
type: string
object:
const: contact
deleted:
const: true
erasure:
$ref: '#/components/schemas/PrivacyErasure'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
servers:
- url: https://api.meetdarwin.ai/v1
components:
schemas:
Problem:
type: object
properties:
type:
type: string
example: https://docs.meetdarwin.ai/api-reference/errors#insufficient_scope
title:
type: string
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
code:
type: string
example: insufficient_scope
detail:
type: string
param:
type: string
required_plan:
description: 'With `plan_required`: the plan that unlocks what was refused. Upgrade under Billing in the Darwin admin.'
type: string
enum:
- growth
- agency
feature:
description: 'With `plan_required`: the plan feature that was refused, such as `fit_rules`.'
example: fit_rules
type:
- string
- 'null'
upgrade_url:
description: 'With `plan_required`: the Billing page in the Darwin admin where an owner upgrades.'
type: string
request_id:
type: string
example: req_8m2k4p0q1x7z9c3v5b6n
required:
- type
- title
- status
- code
- detail
- request_id
PrivacyErasure:
type: object
properties:
object:
type: string
const: privacy_erasure
id:
type: string
email_hash:
type: string
conversations:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
booking_attempts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
link_bookings:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
events:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
contact_deleted:
type: boolean
required:
- object
- id
- email_hash
- conversations
- booking_attempts
- link_bookings
- events
- contact_deleted
ContactUpdate:
type: object
properties:
first_name:
anyOf:
- type: string
maxLength: 120
- type: 'null'
last_name:
anyOf:
- type: string
maxLength: 120
- type: 'null'
company:
anyOf:
- type: string
maxLength: 200
- type: 'null'
phone:
anyOf:
- type: string
maxLength: 40
- type: 'null'
external_id:
anyOf:
- type: string
maxLength: 200
- type: 'null'
attributes:
type: object
propertyNames:
type: string
additionalProperties: {}
additionalProperties: false
Touch:
type: object
properties:
visit_id:
description: Null for a first arrival recorded before visits had ids.
type:
- string
- 'null'
started_at:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
- type: 'null'
landing_url:
description: The full address the visit landed on, query included.
type:
- string
- 'null'
referrer:
description: The outside site that sent the visitor, when there was one.
type:
- string
- 'null'
source:
type: string
description: 'utm_source, else the network an ad-click id names (gclid: google), else the referring site, else direct.'
medium:
type: string
description: utm_medium, else cpc for an ad click, referral or (none).
campaign:
type:
- string
- 'null'
term:
type:
- string
- 'null'
content:
type:
- string
- 'null'
utm:
type: object
propertyNames:
type: string
additionalProperties:
type: string
click_ids:
type: object
propertyNames:
type: string
additionalProperties:
type: string
description: gclid, gbraid, wbraid, dclid, fbclid, msclkid, li_fat_id, ttclid, twclid, epik, rdt_cid, sccid, qclid, yclid, irclickid.
other_params:
type: object
propertyNames:
type: string
additionalProperties:
type: string
description: gclsrc, gad_source, gad_campaignid, HubSpot hsa_*, mc_cid, ref, via.
device:
description: desktop, mobile or tablet.
type:
- string
- 'null'
country:
type:
- string
- 'null'
region:
type:
- string
- 'null'
city:
type:
- string
- 'null'
backfilled:
type: boolean
description: 'A first arrival reconstructed from before visits were recorded: no click ids, no landing page.'
required:
- visit_id
- started_at
- landing_url
- referrer
- source
- medium
- campaign
- term
- content
- utm
- click_ids
- other_params
- device
- country
- region
- city
- backfilled
Contact:
type: object
properties:
id:
type: string
pattern: ^ct_
example: ct_4f8k2m9q1x7z3c5v
object:
type: string
const: contact
email:
type: string
first_name:
type:
- string
- 'null'
last_name:
type:
- string
- 'null'
name:
type:
- string
- 'null'
company:
type:
- string
- 'null'
phone:
type:
- string
- 'null'
external_id:
description: Your own id for this person (a CRM record id). Unique per workspace.
type:
- string
- 'null'
attributes:
type: object
propertyNames:
type: string
additionalProperties:
type:
- string
- number
- boolean
- 'null'
identity_verified:
type: boolean
source:
type: string
first_seen_at:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
- type: 'null'
last_seen_at:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
- type: 'null'
created_at:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
- type: 'null'
updated_at:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
- type: 'null'
conversation_count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
meeting_count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
attribution:
description: First and last touch across every browser joined to this person. On a single contact and on lead.captured.
type: object
properties:
first_touch:
anyOf:
- $ref: '#/components/schemas/Touch'
- type: 'null'
last_touch:
anyOf:
- $ref: '#/components/schemas/Touch'
- type: 'null'
visits:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- first_touch
- last_touch
- visits
required:
- id
- object
- email
- first_name
- last_name
- name
- company
- phone
- external_id
- attributes
- identity_verified
- source
- first_seen_at
- last_seen_at
- created_at
- updated_at
ContactCreate:
type: object
properties:
email:
type: string
minLength: 3
maxLength: 320
first_name:
anyOf:
- type: string
maxLength: 120
- type: 'null'
last_name:
anyOf:
- type: string
maxLength: 120
- type: 'null'
company:
anyOf:
- type: string
maxLength: 200
- type: 'null'
phone:
anyOf:
- type: string
maxLength: 40
- type: 'null'
external_id:
anyOf:
- type: string
maxLength: 200
- type: 'null'
attributes:
type: object
propertyNames:
type: string
additionalProperties: {}
required:
- email
additionalProperties: false
securitySchemes:
bearer:
type: http
scheme: bearer
description: 'A secret key (dk_live_…). Scopes: conversations:read, contacts:read, contacts:write, meetings:read, analytics:read, events:read, webhooks:write, knowledge:read, knowledge:write, agent:read, agent:write, experiments:read, experiments:write, privacy:write, chat:write.'
x-refined-from:
- meetdarwin-ai-mcp-openapi.json
- meetdarwin-ai-openapi.json