Skip to main content
POST
Create a message

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
content
string

Content for the message

Example:

"Hello, how can I help you?"

echo_id
string

Temporary identifier which will be passed back via websockets

Example:

"1234567890"

Response

Success

id
string

Id of the message

content
string

Text content of the message

message_type
string

Denotes the message type

content_type
string

Content type of the message

content_attributes
string

Additional content attributes of the message

created_at
string

Created at time stamp of the message

conversation_id
string

Conversation Id of the message

attachments
object[]

Attachments if any

sender
object

Details of the sender