Create a contact
cURL
curl --request POST \ --url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts \ --header 'Content-Type: application/json' \ --data '{ "identifier": "1234567890", "identifier_hash": "e93275d4eba0e5679ad55f5360af00444e2a888df9b0afa3e8b691c3173725f9", "email": "alice@acme.inc", "name": "Alice", "phone_number": "+123456789", "custom_attributes": {} }'
{ "id": 123, "source_id": "<string>", "name": "<string>", "email": "<string>", "pubsub_token": "<string>" }
The identifier obtained from API inbox channel
Success
The response is of type object.
object