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
Create a contact
Contacts API
Create a contact
Create a contact
POST
/
public
/
api
/
v1
/
inboxes
/
{inbox_identifier}
/
contacts
curl --request POST \
--url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts \
--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
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts \
--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>"
}