Send a message
Sends a message to a specific conversation and returns the sent message info.
Path parameters
The ID of the conversation.
Request body
Example request
{
"medias": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"type": "image",
"filename": "photo_2026-01-15.jpg",
"tm_create": "2026-01-15T09:30:00.000000Z",
"tm_update": "2026-01-15T09:30:00.000000Z",
"tm_delete": "2026-01-15T09:30:00.000000Z"
}
]
}Response
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"conversation_id": "550e8400-e29b-41d4-a716-446655440000",
"direction": "incoming",
"status": "done",
"reference_type": "message",
"reference_id": "f6a7b8c9-d0e1-2345-6789-0abcdef01234",
"source": {
"type": "tel",
"target": "+14155551234",
"target_name": "John Smith",
"name": "Main Office",
"detail": "Primary contact number"
},
"destination": {
"type": "tel",
"target": "+14155551234",
"target_name": "John Smith",
"name": "Main Office",
"detail": "Primary contact number"
},
"text": "Hello, how can I help you today?",
"medias": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"type": "image",
"filename": "photo_2026-01-15.jpg",
"tm_create": "2026-01-15T09:30:00.000000Z",
"tm_update": "2026-01-15T09:30:00.000000Z",
"tm_delete": "2026-01-15T09:30:00.000000Z"
}
],
"tm_create": "2026-01-15T09:30:00.000000Z",
"tm_update": "2026-01-15T09:30:00.000000Z",
"tm_delete": "2026-01-15T09:30:00.000000Z"
}Changes
Changed in 4 of the 54 revisions of this API.1715
- ●
added the new
web_sessionenum value to thedestination/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
web_sessionenum value to thesource/typeresponse property for the response status200response-property-enum-value-added
- ●
- ○
added the optional property
destinationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
sourceto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
enum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
doneenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ●
added the new
emailenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
lineenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
messageenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
progressingenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ●
added the new
whatsappenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ○
removed the
callenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
campaignenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
noneenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
receivedenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
sendingenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
sentenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ●
- ●
removed the optional property
destinationfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
sourcefrom the response with the200statusresponse-optional-property-removed
- ●
added the new
callenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
campaignenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
noneenum value to thereference_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
receivedenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ●
added the new
sendingenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ●
added the new
sentenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ○
removed the
enum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
doneenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
emailenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
lineenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
messageenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
progressingenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
whatsappenum value from thereference_typeresponse property for the response status200response-property-enum-value-removed
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●