AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Contacts API
Update a contact
Contacts API
Update a contact
Update a contact’s attributes
PATCH
/
public
/
api
/
v1
/
inboxes
/
{inbox_identifier}
/
contacts
/
{contact_identifier}
curl --request PATCH \
--url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier} \
--header 'Content-Type: application/json' \
--data '{
"identifier": "<string>",
"identifier_hash": "<string>",
"email": "<string>",
"name": "<string>",
"phone_number": "<string>",
"avatar_url": "<string>",
"custom_attributes": {}
}'
{
"id": 123,
"source_id": "<string>",
"name": "<string>",
"email": "<string>",
"pubsub_token": "<string>"
}
Path Parameters
The identifier obtained from API inbox channel
The source id of contact obtained on contact create
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request PATCH \
--url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier} \
--header 'Content-Type: application/json' \
--data '{
"identifier": "<string>",
"identifier_hash": "<string>",
"email": "<string>",
"name": "<string>",
"phone_number": "<string>",
"avatar_url": "<string>",
"custom_attributes": {}
}'
{
"id": 123,
"source_id": "<string>",
"name": "<string>",
"email": "<string>",
"pubsub_token": "<string>"
}