Skip to content

Update a contact

PUT/v1/contacts/{identifier}

Updates a contact identified by ULID, email address, or E.164 phone number. Send one or more editable contact fields: full_name, email, phone_number, company_name, country_name, city_name, bio, or is_blocked. Omitted fields are left unchanged.

Path Parameters

identifierstring required

Contact ULID, email address, or E.164 phone number. Email addresses in paths should be URL-encoded (%40 for @).

Example:ulid: 01kptye62pxs8pp0xkh6d5vxz2email: [email protected]encodedEmail: encoded%40example.comphone: +201288899999

Body

full_namestring
emailstring (email) or null
phone_numberstring
Example:+201288899999
company_namestring or null
country_namestring or null
city_namestring or null
biostring or null
is_blockedboolean

Responses

Body

success_codeenum: 200 | 201Numeric success code matching the HTTP response status. required
Example:200
messagestring required
Example:OK
detailsobject required
dataobject (GeneralContact)Contact resource returned by list, show, and update. required
idstringContact ULID
avatarstring or nullPublic URL to avatar image
full_namestring
emailstring or null
phone_numberstring
company_namestring or null
country_namestring or null
city_namestring or null
biostring or null
sourceenum: api | client | crm | import
typeenum: internal | external
additional_attributesobject
tagsarray[object]
idstringTag ULID
namestring
colorstring or null
descriptionstring or null
custom_attributesarray[object]
idstringCustom attribute ULID
display_namestring
keystring
typestring
valuestring or null
notesarray[object]
idstringNote ULID
contentstring
created_bystringAgent UUID
created_atstring (date-time)
updated_atstring (date-time)
is_blockedboolean
created_atstring (date-time)
updated_atstring (date-time)
metaobject
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required