Skip to main content
PATCH
Update contact

Authorizations

Authorization
string
header
required

Your personal access token where supported, or a scoped API key (hc_…) created inside HueChat at Account → Developer API. Send it as Authorization: Bearer <token>.

Path Parameters

accountId
integer
required

HueChat account ID

contactId
integer
required

Contact ID

Body

application/json

Contact changes

additional_attributes
object
blocked
boolean
custom_attributes
object
email
string
Example:

"sara@example.com"

gender
enum<string>
Available options:
male,
female,
other
Example:

"female"

identifier
string
Example:

"erp-customer-8842"

name
string
Example:

"Sara Alotaibi"

phone_country
string
Example:

"SA"

phone_number
string
Example:

"+966501234567"

Response

OK

payload
object