Change a contact: fields, tags, custom fields, identities
patch/crm/contacts/{id}
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Graphql
Mutation.contactsContactUpdate- Sdk
contacts.contact.update- Cli
contacts contact update- Events
contacts.contact.updated
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringAt most 200 characters.
- firstNamestring or null
- lastNamestring or null
- emailstring or null
- phonestring or null
- identitieslist of object
- kindstringrequiredPattern: ^(email|phone|whatsapp|handle:[a-z0-9_.-]{1,30}|external:[a-z0-9_.-]{1,30})$.
- valuestringrequiredAt most 320 characters.
- primaryboolean
- verifiedboolean
- kindstringrequired
- companyIdstring (uuid) or null
- companystringA company name or domain; found or created At most 200 characters.
- ownerstring or null
- lifecyclestringOne of: subscriber, lead, customer, partner, other.
- sourcestringAt most 80 characters.
- languagestring or null
- countrystring or null
- timezonestring or null
- tagslist of string
- customobject
- removeTagslist of string
- removeIdentitieslist of object
- kindstringrequiredPattern: ^(email|phone|whatsapp|handle:[a-z0-9_.-]{1,30}|external:[a-z0-9_.-]{1,30})$.
- valuestringrequiredAt most 320 characters.
- kindstringrequired
- expectRevintegerAt least 1.
Responses
- 200application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring