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

inbox_identifier
string
required

The identifier obtained from API inbox channel

Body

application/json

Response

200
application/json
Success

The response is of type object.