Contacts and companies
Add a contact
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the contacts:write ability
Query parameters
upsertstringtrue to find or add by external id, then email. Only this mode accepts company.
Body
application/jsoncompanyobjectShow child attributesHide child attributes
custom_attributesobjectThe company's custom attribute values, as an object of attribute key to value, with keys as GET /attribute-definitions defines them for companies. When the company already exists they are merged over the ones it has. Such as {"plan": "enterprise"}.
domainstringThe company's domain name, at most 255 characters, such as acme.com. When a company is looked up (a contact's company, or an upsert), it is found by external_id first, then by this; a contact's company needs one of the two.
Maximum length: 255
external_idstringYour own system's id of the company, 1 to 255 characters, such as org_512. When a company is looked up (a contact's company, or an upsert), it is found by this first, then by domain; a new one is added when none matches.
Minimum length: 1 · Maximum length: 255
namestringThe company's name, 1 to 255 characters, such as Acme Inc.
Minimum length: 1 · Maximum length: 255
custom_attributesobjectAn object of custom attribute values by key. Keys and types follow GET /attribute-definitions; a value of the wrong type is dropped and listed by GET /attribute-problems.
emailstringAn email address, such as ana@example.com.
external_idstringYour product's id for this person. A contact with one is a user, without a lead.
namestringThe name of the contact.
phonestringA phone number with its country code, such as +14155550123.
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
avatar_urlstring | nullrequiredURL of the contact's picture. Null when they have none.
blockedbooleanrequiredTrue when the team has blocked this contact.
companyobjectrequiredShow child attributesHide child attributes
domainstring | nullrequiredThe company's web domain, such as acme.com. Null when unknown.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe company's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
custom_attributesanyrequiredThe contact's custom attributes as an object of names and values, such as {"plan": "pro"}. An empty object when there are none.
emailstring | nullrequiredThe contact's email address. Null when unknown. Not unique: a lead may type any address, so check email_verified.
email_verifiedbooleanrequiredTrue only when a trusted source proved the email belongs to this contact; an address a lead typed stays false.
external_idstring | nullrequiredThe contact's id in your own system. Null when none was given.
first_seen_atstring | nullrequiredWhen the contact was first seen. Null when never recorded.
Format: date-time
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
kindstringrequiredHow well the contact is known: user when your app identified them (verified token or API), lead for anyone else.
last_seen_atstring | nullrequiredWhen the contact was last seen. Null when never recorded.
Format: date-time
localestring | nullrequiredThe contact's language as a locale code, such as en or pt-BR. Null when unknown.
locationanyrequiredWhere the contact is, as a JSON object. Null when unknown.
namestring | nullrequiredThe contact's name. Null when unknown.
notesstring | nullrequiredFree-text notes the team keeps about the contact. Null when there are none.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
phonestring | nullrequiredThe contact's phone number. Null when unknown.
tagsobject[] | nullrequiredThe tags on the contact, each with its id and name. Empty in plain lists that do not load tags.
Show child attributesHide child attributes
colorstring | nullrequiredThe tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.
iconstring | nullrequiredName of the tag's icon; null when it has none.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe tag's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
timezonestring | nullrequiredThe contact's IANA time zone, such as Europe/Berlin, for reading times in their local time. Null when unknown.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
metaobjectShow child attributesHide child attributes
possible_duplicatesobject[] | nullOther contacts that may be the same person, such as a lead who only typed the same email address, for a teammate to judge. Left out when there are none.
Show child attributesHide child attributes
avatar_urlstring | nullrequiredURL of the contact's picture. Null when they have none.
emailstring | nullrequiredThe contact's email address. Null when unknown.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
kindstringrequiredHow well the contact is known: user when your app identified them, lead for anyone else.
namestring | nullrequiredThe contact's name. Null when unknown.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
timezonestring | nullrequiredThe contact's IANA time zone, such as Europe/Berlin, for reading times in their local time. Null when unknown.
upsertedstringrequiredWhether the request added the record or changed an existing one: created or updated.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.