Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

Contacts — API reference

Contacts with every field, folders, categories, lists, relationships, history and restore, photos, the mail timeline, duplicates and merges, imports and exports (docs/contacts.md).

← All groups
GET /api/v1/contact-categories

Contact categories

Scope: contacts:read · paginated · contacts.categories

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

categories * [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contact-categories

Create a category

Scope: contacts:write · Idempotency-Key · contacts.create_category

Request body application/json
color string
name * string
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

category * ContactCategory
fields

ContactCategory

color string | null
id * string (uuid)
name string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contact-folders

Contact folders

Scope: contacts:read · paginated · contacts.folders

ParameterInTypeDescription
address_book_idquerystring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

folders * [ContactFolder]
fields

ContactFolder

address_book_id string (uuid)
color string | null
depth integer
description string | null
icon string | null
id * string (uuid)
name string
parent_id string | null
position integer
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contact-folders

Create a folder

In `parent_id`'s book, or `address_book_id`, or the default book.

Scope: contacts:write · Idempotency-Key · contacts.create_folder

Request body application/json
address_book_id string (uuid)
color string
description string
icon string
name * string
parent_id string (uuid)
position integer
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

folder * ContactFolder
fields

ContactFolder

address_book_id string (uuid)
color string | null
depth integer
description string | null
icon string | null
id * string (uuid)
name string
parent_id string | null
position integer

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/contact-folders/{id}

Delete a folder

Scope: contacts:write · contacts.delete_folder

ParameterInTypeDescription
id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

PATCH /api/v1/contact-folders/{id}

Rename or move a folder

`parent_id` moves it (null = top level); `address_book_id` moves a top-level folder to another book; otherwise the other fields change.

Scope: contacts:write · contacts.update_folder

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
address_book_id string (uuid)
color string
description string
icon string
name string
parent_id string | null
position integer
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

folder * ContactFolder
fields

ContactFolder

address_book_id string (uuid)
color string | null
depth integer
description string | null
icon string | null
id * string (uuid)
name string
parent_id string | null
position integer

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contact-lists

Contact lists

Scope: contacts:read · paginated · contacts.lists_get

ParameterInTypeDescription
address_book_idquerystring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

has_more boolean
lists * [ContactList]
fields

ContactList

address_book_id string (uuid)
description string | null
id * string (uuid)
kind "static" | "dynamic" | "hybrid"
name string
rules object | null
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contact-lists

Create a list

Scope: contacts:write · Idempotency-Key · contacts.create_list

Request body application/json
address_book_id string (uuid)
description string
kind "static" | "dynamic" | "hybrid"
name * string
rules object Rules of a dynamic / hybrid list
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

list * ContactList
fields

ContactList

address_book_id string (uuid)
description string | null
id * string (uuid)
kind "static" | "dynamic" | "hybrid"
name string
rules object | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contact-lists/{id}/members

A list's members

Scope: contacts:read · paginated · contacts.list_members

ParameterInTypeDescription
id *pathstring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 404 · 429

200 Success

contacts * [Contact]
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

PATCH /api/v1/contact-lists/{id}/members

Add or remove list members

Scope: contacts:write · contacts.update_list_members

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
add [string (uuid)]
remove [string (uuid)]
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

contacts * [Contact]
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts

List contacts

Within the address books the person may open (personal books are their owner's own unless shared).

Scope: contacts:read · paginated · contacts.index

ParameterInTypeDescription
qquerystringName, company, email or phone
address_book_idquerystring (uuid)
folder_idquerystring (uuid)With its subfolders
category_idquerystring (uuid)
list_idquerystring (uuid)
contact_typequery"individual" | "organization" | "customer" | "supplier" | "partner" | "employee" | "prospect" | "other"
starredqueryboolean
limitqueryintegerDefault 200, at most 1000
offsetqueryinteger
cursorquerystringThe `next_cursor` of the previous page
Responses 200 · 401 · 403 · 429

200 Success

contacts * [Contact]
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contacts

Create a contact

In `address_book_id` (or the folder's book, or the default book). Every address is verified before it is stored: a contact with an unverified address is refused (`422 unverified_email` with the results).

Scope: contacts:write · Idempotency-Key · contacts.create

Request body application/json

ContactInput

address_book_id string (uuid) Default: the folder's book, or the default book
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string (date)
birthday string (date)
category_ids [string (uuid)]
company string
contact_type "individual" | "organization" | "customer" | "supplier" | "partner" | "employee" | "prospect" | "other"
custom_fields object
department string
display_name string
emails [string (email) | object] Addresses or objects
first_name string
folder_id string (uuid)
folder_ids [string (uuid)]
job_title string
last_name string
middle_name string
nickname string
notes string
phones [string | object]
prefix string
starred boolean
suffix string
tags [string]
urls [string | object]
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 An address already belongs to another contact of the book (`duplicate_email`)

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/duplicates

The duplicates queue

Scope: contacts:read · paginated · contacts.duplicates

ParameterInTypeDescription
address_book_idquerystring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

duplicates * [ContactDuplicate]
fields

ContactDuplicate

address_book_id string (uuid)
contact_a Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
contact_b Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
id * string (uuid)
reasons [string]
score number
has_more boolean
merge_fields [string]
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contacts/duplicates/{id}/dismiss

Mark a pair as not duplicates

Scope: contacts:write · Idempotency-Key · contacts.dismiss_duplicate

ParameterInTypeDescription
id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 409 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/export

Export contacts

A vCard (3.0 or 4.0) or CSV file of a book, folder or list (default: what the person sees).

Scope: contacts:read · contacts.export

ParameterInTypeDescription
formatquery"vcard" | "vcard4" | "csv"Default vcard
address_book_idquerystring (uuid)
folder_idquerystring (uuid)
list_idquerystring (uuid)
Responses 200 · 401 · 403 · 429

200 Success

string

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contacts/import

Import contacts

A vCard or CSV file as multipart `file` or as `content`. `preview: true` only parses and checks (answers `preview`). Otherwise answers the job: 201 when done, 202 when it runs in the background.

Scope: contacts:write · Idempotency-Key · contacts.import

Request body multipart/form-data
address_book_id string (uuid)
background boolean
content string The file's text, when no file is sent
file string The file
filename string
folder_id string (uuid)
format "vcard" | "csv" Detected when left out
mapping object CSV header → field
on_duplicate "merge" | "skip" | "create" Default merge
on_unverified "strip" | "skip" Unverified addresses: leave the address out (default) or skip the row
preset string CSV column preset (google, outlook, apple …)
preview boolean
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

import ContactImport
fields

ContactImport

address_book_id string (uuid)
created_count integer
error string | null
failed_count integer
filename string | null
finished_at string | null
folder_id string | null
format string
id * string (uuid)
inserted_at string (date-time)
merged_count integer
on_duplicate string
on_unverified string
preset string | null
processed integer
report [object]
skipped_count integer
started_at string | null
status string queued, running, done, failed, cancelled …
stripped_count integer
total integer
preview object format, preset, headers, mapping, total, rows (first 20)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/imports

Import jobs

Scope: contacts:read · paginated · contacts.imports

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

has_more boolean
imports * [ContactImport]
fields

ContactImport

address_book_id string (uuid)
created_count integer
error string | null
failed_count integer
filename string | null
finished_at string | null
folder_id string | null
format string
id * string (uuid)
inserted_at string (date-time)
merged_count integer
on_duplicate string
on_unverified string
preset string | null
processed integer
report [object]
skipped_count integer
started_at string | null
status string queued, running, done, failed, cancelled …
stripped_count integer
total integer
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

DELETE /api/v1/contacts/imports/{id}

Stop an import

Scope: contacts:write · contacts.cancel_import

ParameterInTypeDescription
id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/imports/{id}

One import job

Scope: contacts:read · contacts.import_show

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

import * ContactImport
fields

ContactImport

address_book_id string (uuid)
created_count integer
error string | null
failed_count integer
filename string | null
finished_at string | null
folder_id string | null
format string
id * string (uuid)
inserted_at string (date-time)
merged_count integer
on_duplicate string
on_unverified string
preset string | null
processed integer
report [object]
skipped_count integer
started_at string | null
status string queued, running, done, failed, cancelled …
stripped_count integer
total integer

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/contacts/merge

Merge two contacts

`other_id` is merged into `keep_id`; undoable.

Scope: contacts:write · Idempotency-Key · contacts.merge

Request body application/json
choices object field → "a" (kept) or "b" (other); `photo` too
keep_id * string (uuid)
other_id * string (uuid)
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
merge * ContactMerge
fields

ContactMerge

actor_id string | null
address_book_id string (uuid)
automatic boolean
choices object
id * string (uuid)
inserted_at string (date-time)
kept_id string (uuid)
merged_book_id string | null
merged_id string (uuid)
merged_name string | null
undone_at string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/merges

Recent merges

Scope: contacts:read · paginated · contacts.merges

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

has_more boolean
merges * [ContactMerge]
fields

ContactMerge

actor_id string | null
address_book_id string (uuid)
automatic boolean
choices object
id * string (uuid)
inserted_at string (date-time)
kept_id string (uuid)
merged_book_id string | null
merged_id string (uuid)
merged_name string | null
undone_at string | null
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/contacts/merges/{id}/undo

Undo a merge

Scope: contacts:write · Idempotency-Key · contacts.undo_merge

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

kept * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
restored * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
stripped [object] Addresses left out because they no longer verify
fields
address string (email)
reason string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/contacts/move

Move contacts to another book or folder

With `address_book_id`: answers `moved` and `skipped` (contacts whose address already belongs to a contact of that book). With `folder_id` (null = no folder): answers `moved`.

Scope: contacts:write · Idempotency-Key · contacts.move

Request body application/json
address_book_id string (uuid)
folder_id string | null
ids * [string (uuid)]
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429

200 Success

moved * integer
skipped [string (uuid)]

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/contacts/{id}

Delete a contact

Scope: contacts:write · contacts.delete

ParameterInTypeDescription
id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/{id}

One contact

Scope: contacts:read · contacts.show

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

PATCH /api/v1/contacts/{id}

Change a contact

Only the fields sent change. Every address is verified before it is stored: a contact with an unverified address is refused (`422 unverified_email` with the results).

Scope: contacts:write · contacts.update

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json

ContactInput

address_book_id string (uuid) Default: the folder's book, or the default book
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string (date)
birthday string (date)
category_ids [string (uuid)]
company string
contact_type "individual" | "organization" | "customer" | "supplier" | "partner" | "employee" | "prospect" | "other"
custom_fields object
department string
display_name string
emails [string (email) | object] Addresses or objects
first_name string
folder_id string (uuid)
folder_ids [string (uuid)]
job_title string
last_name string
middle_name string
nickname string
notes string
phones [string | object]
prefix string
starred boolean
suffix string
tags [string]
urls [string | object]
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 An address already belongs to another contact of the book (`duplicate_email`)

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/contacts/{id}/folders

Add a contact to a folder too

Scope: contacts:write · Idempotency-Key · contacts.add_to_folder

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
folder_id * string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

added integer

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/{id}/history

A contact's versions

Scope: contacts:read · paginated · contacts.history

ParameterInTypeDescription
id *pathstring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 404 · 429

200 Success

has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last
versions * [ContactRevision]
fields

ContactRevision

action string
actor_id string | null
actor_kind string | null
actor_name string | null
changed [string]
id * string (uuid)
inserted_at string (date-time)
summary string The change in words
version integer
via string | null

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/contacts/{id}/history/{revision_id}/restore

Restore a version

Scope: contacts:write · Idempotency-Key · contacts.restore

ParameterInTypeDescription
id *pathstring (uuid)
revision_id *pathstring (uuid)A version (`id` of a version)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
stripped [object] Addresses left out because they no longer verify
fields
address string (email)
reason string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/contacts/{id}/photo

Remove a contact's photo

Scope: contacts:write · contacts.delete_photo

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/{id}/photo

A contact's photo

Scope: contacts:read · contacts.photo

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

string

401 Problem details (401)

403 Problem details (403)

404 No photo (`no_photo`)

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/contacts/{id}/photo

Set a contact's photo

The raw image as the body, with its `Content-Type: image/…`; up to 5 MB.

Scope: contacts:write · contacts.put_photo

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/octet-stream

string

Responses 200 · 401 · 402 · 403 · 404 · 413 · 422 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

413 Photos are up to 5 MB (`photo_too_large`)

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/{id}/relationships

A contact's relationships

Scope: contacts:read · contacts.relationships

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

kinds [string]
relationships * [ContactRelationship]
fields

ContactRelationship

contact_id string (uuid) The other contact
direction string Which side of the relationship this contact is on
id * string (uuid)
kind string
label string | null
name string | null The other contact's name

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/contacts/{id}/relationships

Relate two contacts

Both contacts must be in the same book.

Scope: contacts:write · Idempotency-Key · contacts.add_relationship

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
kind * "works_with" | "reports_to" | "manager_of" | "assistant_of" | "spouse" | "partner" | "parent" | "child" | "sibling" | "friend" | "relative" | "referred_by" | "colleague" | "other"
label string
related_id * string (uuid)
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

relationship * object
fields
contact_id string (uuid)
id string (uuid)
kind string
label string | null
related_id string (uuid)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/contacts/{id}/relationships/{rel_id}

Remove a relationship

Scope: contacts:write · contacts.remove_relationship

ParameterInTypeDescription
id *pathstring (uuid)
rel_id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/contacts/{id}/reverify

Check a contact's addresses again

Scope: contacts:write · Idempotency-Key · contacts.reverify

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

contact * Contact
fields

Contact

address_book_id string (uuid)
addresses [ContactAddress]
fields

ContactAddress

city string | null
country string | null
country_code string | null
geocode_status string | null
label string
latitude number | null
longitude number | null
postal_code string | null
primary boolean
region string | null
street string | null
street2 string | null
anniversary string | null
birthday string | null
categories [ContactCategory]
fields

ContactCategory

color string | null
id * string (uuid)
name string
city string | null
company string | null
contact_type string
country string | null
custom_fields object
department string | null
display_name string | null
emails [object]
fields
address string (email)
label string
primary boolean
verification_status string | null
verified_at string | null
etag string
first_name string | null
folder_id string | null
folder_ids [string (uuid)]
has_photo boolean
id * string (uuid)
inserted_at string (date-time)
job_title string | null
last_emailed_at string | null
last_name string | null
middle_name string | null
nickname string | null
notes string | null
phone string | null Primary phone (mirror)
phones [object]
fields
e164 string | null
label string
number string
primary boolean
prefix string | null
record_version integer
source string | null
starred boolean
suffix string | null
tags [string]
uid string
updated_at string (date-time)
urls [object]
fields
kind string
label string | null
url string
flags ContactEmailFlags Address → `status`, `verified_at`, `suppressed` (reason or null), `bounced` (hard / soft / null), `complained`, `unsubscribed`
fields

ContactEmailFlags

ContactEmailFlags

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/contacts/{id}/timeline

A contact's mail timeline

Mail with the contact in the mailboxes the person may open (empty without `mail:read`), with the address flags.

Scope: contacts:read · contacts.timeline

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

flags ContactEmailFlags Address → `status`, `verified_at`, `suppressed` (reason or null), `bounced` (hard / soft / null), `complained`, `unsubscribed`
fields

ContactEmailFlags

ContactEmailFlags

summary object
fields
count integer
last_contacted string | null
last_received string | null
last_sent string | null
timeline [object]
fields
at string (date-time)
direction "sent" | "received"
from string | null
mailbox_id string (uuid)
message_id string (uuid)
subject string | null
to [string]

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

GET /api/v1/lists

Contact lists

Scope: contacts:read · paginated · contacts.lists

ParameterInTypeDescription
address_book_idquerystring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

has_more boolean
lists * [ContactList]
fields

ContactList

address_book_id string (uuid)
description string | null
id * string (uuid)
kind "static" | "dynamic" | "hybrid"
name string
rules object | null
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)