Contacts
One contact per phone number. A contact has more fields than listed here: ignore fields you don’t recognize, new ones may be added. The suppression fields (opt_out_locked, dnd_sms and others) are explained under Opt-outs.
#The Contact object
idinteger- The contact id. Use it in
/contacts/:id, not the phone number. phonestring- The number, stored as E.164. One contact per number, and it can’t be changed.
first_namestring- First name.
last_namestring- Last name.
emailstring- Email address. When the contact texts in their own address, Ready can fill this in, or replace it and keep the old one as
secondary_emailincustom_fields; the change shows only as an Activity line on the contact, with no event. Ask support if you want that turned off for your account. tagsstring- A JSON-encoded string, for example
"[\"vip\",\"hot\"]". Parse it withJSON.parse(contact.tags). When you send tags, send a real array. pipeline_stagestring- A stage id from your pipeline, for example
new_lead. sourcestring- Where the contact came from.
manualby default. Ready sets it on contacts it creates itself, for exampleinbound_sms,webhook,zapierandai_assistant(a contact the in-app assistant created); treat the list as open and don’t fail on a value you don’t know. statusstringactivefor a new contact.opted_out,blocked,wrong_numberanddeceasedmean texting is off (dnd_smsis1). When you write it, send one ofactive,inactive,opted_out,wrong_number,blocked,deceasedordeleted, in lower case. Any other value is saved as you sent it, and campaigns and drip enrolls only reachactivecontacts, so that contact gets no campaign texts. How people opt out: Compliance.scoreinteger- Lead score.
50for a new contact. dnd_smsinteger1when texting is off for this contact,0otherwise. An integer, not a boolean.opt_out_lockedinteger1when a STOP or a TCPA lock blocks texts. See Suppression fields.opt_out_atstring | null- When the contact opted out, ISO 8601.
nullif they haven’t. timezonestring- IANA name such as
America/New_York. Set from a US number’s area code if you don’t send one. custom_fieldsobject | null- Your custom fields, key by key. When a contact texts in an email address, Ready also stores
email_history(a list of{email, source, at}),secondary_emailandbusiness_emailhere, and the texted-in address can become the contact’s primaryemail. No event is sent for that change. created_atstring- When the contact was added, ISO 8601.
updated_atstring- When the contact last changed, ISO 8601.
last_message_atstring | null- When the last message with the contact was, ISO 8601.
nullif none. List contacts reads it fresh. Get a contact returns the stored value, which is refreshed every 30 minutes, so it can lag.
#Keys on Get a contact only
Get a contact (GET /contacts/:id) adds these keys. List contacts, Update and Create don’t send them. Each is left out (not null) in the case shown, so read them as optional.
opt_out_lock_reasonstring- Why texts are blocked, in plain words. Only present when
opt_out_lockedis1; left out otherwise. reachstringoptoutwhen Ready won’t text this number (opt-out flags or your ban list),okwhen it may. Left out when the contact has no phone or the check couldn’t be read.assignee_emailstring- Email of the team member in
assigned_to. Left out when the contact is unassigned or the member isn’t on your account. assignee_namestring- Display name of that team member. Left out under the same rule.
workflowsarray- The workflows the contact is in. An empty array when none, or when the read failed.
Beyond the keys on this page, a contact also carries internal fields that come from how Ready stores it (for example user_id and ghl_* keys). They are not part of the contract and may be removed after notice: don’t build on them.
#List contacts
Your contacts, most recently updated first, with filters.
Parameters
searchstring · query- Partial, case-insensitive match on name, email, company or phone.
How matching works
Name means first or last name. Phone numbers match in any format once you type at least 7 digits; shorter digit strings match only as written. Withouttag, only the first 5,000 matches in yoursortorder are considered, so a broad search can miss an older contact. Narrow broad searches. tagstring · query- Exact tag name. Writes ignore letter case (adding
VIPto a contact withvipchanges nothing), but this filter matches the text as written. statusstring · query- For example
opted_out. dndinteger · query1: only contacts with texting turned off.limitinteger · queryDefault50Max1000- Page size.
offsetinteger · queryDefault0- Rows to skip: a whole number, 0 or more. Deep offsets get slower, so to copy every contact use Export contacts as CSV instead.
sortenum · query- Default: most recently updated first. For a full export use
date_added: a contact edited while you page jumps to the front of the default order. Or take every contact in one file with Export contacts as CSV. Unknown values fall back to the default.name_asc,name_descphone_asc,phone_descsource_asc,source_descassignee_asc,assignee_desclastact_asc,lastact_descstatus_asc,status_descscore_high,score_lowdate_added
stagestring · query- Pipeline stage.
sourcestring · query- Where the contact came from, for example
manual,inbound_sms,webhook,zapierorai_assistant. companystring · query- Company name.
statestring · query- US state.
assigned_tostring · query- A team member id, or
unassigned. score_min, score_maxinteger · query- Lead score range.
include_spaminteger · query- Contacts marked spam are left out unless you send
1. stage_notstring · query- Comma-separated stage ids to leave out. Up to 100 ids; ids past that are ignored, with no warning, so split a longer list across requests.
last_contactinteger · query- Only contacts changed in the last N days (by
updated_at, not by messages). last_activity, la_from, la_tostring · query- Filters by the last message.
none: never messaged.afterwithla_from,beforewithla_to, orbetweenwith both. Dates areYYYY-MM-DD, read as UTC days:afterincludes thela_fromday,beforeleaves thela_today out, andbetweenincludes both days. Any other value, or a missing date, returns400. dialer_list_idinteger · query- Only contacts in this list or smart list.
status=deletedquery- Includes soft-deleted contacts. Every other
statusleaves them out. sort=custom:<field_id>:asc|descquery- Sorts by a custom field. Dates sort by date, other values as text.
bulk_job_id, drip_sequence_id, campaign_blast_id, dndquery- Narrow to contacts from one bulk import, one drip campaign or one campaign blast (ids).
dnd=0leaves out contacts with texts turned off. fbstring · query- The dashboard’s own filter-builder format. It is internal and can change; build filters from the parameters above instead.
ids_only, ids_limitinteger · query- With
ids_only=1, returns{ids, total, has_more}instead of contacts: the ids that match, up toids_limit(max 100,000).totalis the number of ids in this answer, not the number of matches.has_moresays there are more. To continue, sendids_after(the last id you got, ids ascending) orids_cursor(thenext_cursorof the page before, in yoursortorder); a value that isn’t a whole number returns400, and anids_cursorwhose contact was deleted returns409. Both are used by the dashboard’s select-all.
Returns a list of Contact objects in data.
Returns
totalinteger- Matching contacts, for display only. Stop paging on a page shorter than
limit(or empty). It can be an estimate, up to 2 minutes old. When nothing matches it is always0. total_is_estimatebooleantruewhentotalis an estimate.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_offset | Not a whole number, 0 or more. |
| 400 | invalid_filter | A filter value was refused, for example a bad last_activity date. error says which. |
| 500 | segment_rules_damaged | The smart list in dialer_list_id has conditions Ready can’t read. Open the list and save it again. |
| 503 | CONTACTS_READ_FAILED | The read failed. Try again. |
curl "https://api.tryready.com/contacts?tag=vip&limit=100&sort=date_added" \
-H "X-API-Key: $READY_API_KEY"
const res = await fetch('https://api.tryready.com/contacts?tag=vip&limit=100&sort=date_added', {
headers: {
'X-API-Key': process.env.READY_API_KEY,
},
signal: AbortSignal.timeout(65 * 1000),
});
const json = await res.json().catch(() => ({}));
if (!res.ok || json.success === false) {
throw new Error(`${res.status}${json.error_code || json.code ? ' ' + (json.error_code || json.code) : ''}: ${json.error || json.message || res.statusText} (request ${res.headers.get('x-request-id')})`);
}
import os, requests
r = requests.get(
"https://api.tryready.com/contacts",
headers={"X-API-Key": os.environ["READY_API_KEY"]},
params={
"tag": "vip",
"limit": 100,
"sort": "date_added"
},
timeout=65,
)
data = r.json() if r.headers.get("content-type", "").startswith("application/json") else {}
if not r.ok or data.get("success") is False:
raise RuntimeError(f'{r.status_code} {data.get("error_code") or data.get("code") or ""}: {data.get("error") or data.get("message") or r.reason} (request {r.headers.get("x-request-id")})')
{
"success": true,
"data": [
{
"id": 101,
"first_name": "Ada",
"last_name": "Lovelace",
"phone": "+12125550199",
"email": "ada@example.com",
"tags": "[\"vip\"]",
"pipeline_stage": "new_lead",
"source": "manual",
"status": "active",
"score": 50,
"dnd_sms": 0,
"opt_out_locked": 0,
"opt_out_at": null,
"timezone": "America/New_York",
"custom_fields": null,
"created_at": "2026-10-01T21:04:51.779Z",
"updated_at": "2026-10-01T21:04:51.779Z",
"last_message_at": null
}
],
"total": 438
}
#Get a contact
One contact by id.
Parameters
idinteger · pathRequired- The contact id.
Returns a Contact object in data.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | INVALID_CONTACT_ID | Not a contact id (for example a phone number). |
| 403 | CONTACT_NOT_ASSIGNED | Your key belongs to a team member who sees only their assigned contacts, and this contact is assigned to someone else. |
| 404 | CONTACT_NOT_FOUND | No contact with this id on your account. |
| 503 | CONTACT_READ_FAILED | The contact couldn’t be read just now. Nothing was changed. Try again in a moment. |
curl "https://api.tryready.com/contacts/101" \
-H "X-API-Key: $READY_API_KEY"
const res = await fetch('https://api.tryready.com/contacts/101', {
headers: {
'X-API-Key': process.env.READY_API_KEY,
},
signal: AbortSignal.timeout(65 * 1000),
});
const json = await res.json().catch(() => ({}));
if (!res.ok || json.success === false) {
throw new Error(`${res.status}${json.error_code || json.code ? ' ' + (json.error_code || json.code) : ''}: ${json.error || json.message || res.statusText} (request ${res.headers.get('x-request-id')})`);
}
import os, requests
r = requests.get(
"https://api.tryready.com/contacts/101",
headers={"X-API-Key": os.environ["READY_API_KEY"]},
timeout=65,
)
data = r.json() if r.headers.get("content-type", "").startswith("application/json") else {}
if not r.ok or data.get("success") is False:
raise RuntimeError(f'{r.status_code} {data.get("error_code") or data.get("code") or ""}: {data.get("error") or data.get("message") or r.reason} (request {r.headers.get("x-request-id")})')
{
"success": true,
"data": {
"id": 101,
"first_name": "Ada",
"last_name": "Lovelace",
"phone": "+12125550199",
"email": "ada@example.com",
"tags": "[\"vip\"]",
"pipeline_stage": "new_lead",
"source": "manual",
"status": "active",
"score": 50,
"dnd_sms": 0,
"opt_out_locked": 0,
"opt_out_at": null,
"timezone": "America/New_York",
"custom_fields": null,
"created_at": "2026-10-01T21:04:51.779Z",
"updated_at": "2026-10-01T21:04:51.779Z",
"last_message_at": null
}
}
{
"success": false,
"code": "CONTACT_NOT_FOUND",
"error": "We couldn't find this contact. It may have been deleted, so refresh Contacts to see the current list."
}
#Create a contact
Adds a contact. Retrying a timed-out create is safe: an existing number (any format) returns 409 CONTACT_EXISTS, and Idempotency-Key isn’t used here. A new contact fires the contact_created webhook. Free, but scrubbing runs if it’s on, at your scrub rate. Needs the edit_contacts permission.
Parameters
phonestringRequired- E.164 recommended (
+12125550199). Any common US format is accepted; stored as E.164.
More parameters
first_namestringlast_namestringemailstringtagsstring[]- An array of strings.
company_namestringpipeline_stagestringDefault: the first stage of your pipeline (new_leadif you never changed your stages)- Free text, stored as sent; use a stage id from List stages. A stage name is not matched to its id, so a contact sent with one sits on no stage.
sourcestringDefaultmanualtimezonestring- IANA name such as
America/Chicago. If omitted, set from a US number’s area code. websitestringaddress1, address2, city, state, postal_code, countrystring- Address fields.
date_of_birthstringgenderstringassigned_tointeger- A team member id.
dnd_sms, dnd_email, dnd_callsinteger1to turn off texting, email or calls. Turning texting off is an opt-out that can’t be undone over the API.consent_attestedbooleantruerecords that this person agreed to get texts from you. The record keeps your IP address and user agent. If it can’t be saved, the contact is still created and the reply hasconsent_not_recorded: true.consent_attestation_textstring- The consent wording you showed, up to 1,000 characters. Used only with
consent_attested. Without it, a standard sentence is recorded.
Returns 201 with the new Contact object in data. If we could not run your automations and Zaps for the new contact, the contact is still saved and the reply also carries warning (text) and warning_code (contact_events_queued).
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | phone_required | No phone number. |
| 400 | INVALID_PHONE |
The number can’t be read. |
| 400 | invalid_field | Wrong type, such as non-list tags. |
| 400 | ASSIGNEE_NOT_ON_ACCOUNT | assigned_to isn’t on your account. |
| 503 | ASSIGNEE_CHECK_UNAVAILABLE | We couldn’t check assigned_to just now. Nothing was saved. Retry in a moment. |
| 409 | CONTACT_EXISTS | Number exists. The body carries contact_id, the contact that has it: GET /contacts/:id. |
| 500 | CONTACT_CREATE_FAILED | The contact couldn’t be added. Nothing was saved. Retry. |
curl -X POST "https://api.tryready.com/contacts" \
-H "X-API-Key: $READY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "+12125550199",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"tags": [
"vip"
]
}'
const res = await fetch('https://api.tryready.com/contacts', {
method: 'POST',
headers: {
'X-API-Key': process.env.READY_API_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"phone": "+12125550199",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"tags": [
"vip"
]
}),
signal: AbortSignal.timeout(35 * 1000),
});
const json = await res.json().catch(() => ({}));
if (!res.ok || json.success === false) {
throw new Error(`${res.status}${json.error_code || json.code ? ' ' + (json.error_code || json.code) : ''}: ${json.error || json.message || res.statusText} (request ${res.headers.get('x-request-id')})`);
}
import os, requests
r = requests.post(
"https://api.tryready.com/contacts",
headers={"X-API-Key": os.environ["READY_API_KEY"]},
json={
"phone": "+12125550199",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"tags": ["vip"]
},
timeout=35,
)
data = r.json() if r.headers.get("content-type", "").startswith("application/json") else {}
if not r.ok or data.get("success") is False:
raise RuntimeError(f'{r.status_code} {data.get("error_code") or data.get("code") or ""}: {data.get("error") or data.get("message") or r.reason} (request {r.headers.get("x-request-id")})')
{
"success": true,
"data": {
"id": 101,
"first_name": "Ada",
"last_name": "Lovelace",
"phone": "+12125550199",
"email": "ada@example.com",
"tags": "[\"vip\"]",
"pipeline_stage": "new_lead",
"source": "manual",
"status": "active",
"score": 50,
"dnd_sms": 0,
"opt_out_locked": 0,
"opt_out_at": null,
"timezone": "America/New_York",
"custom_fields": null,
"created_at": "2026-10-01T21:04:51.779Z",
"updated_at": "2026-10-01T21:04:51.779Z",
"last_message_at": null
}
}
{
"success": false,
"code": "CONTACT_EXISTS",
"error": "A contact with this phone number already exists. Search Contacts for the number to open it.",
"contact_id": 4821
}
See also: the guide to doing this in the app.