POST
/
public
/
api
/
v1
/
inboxes
/
{inbox_identifier}
/
contacts
/
{contact_identifier}
/
conversations
/
{conversation_id}
/
messages
curl --request POST \
  --url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "<string>",
  "echo_id": "<string>"
}'
{
  "id": "<string>",
  "content": "<string>",
  "message_type": "<string>",
  "content_type": "<string>",
  "content_attributes": "<string>",
  "created_at": "<string>",
  "conversation_id": "<string>",
  "attachments": [
    {}
  ],
  "sender": {}
}

Path Parameters

inbox_identifier
string
required

The identifier obtained from API inbox channel

contact_identifier
string
required

The source id of contact obtained on contact create

conversation_id
integer
required

The numeric ID of the conversation

Body

application/json

Response

200
application/json
Success

The response is of type object.