curl --request POST \
--url https://api.wotnot.io/api/v1/conversation/{conversation_id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": {
"data": {
"body": "Hi"
},
"type": "text"
},
"user": {
"by": "agent_email@domain.com"
}
}
'{
"ok": true,
"message_id": "6HRBshHEcV8P103039226478taGDJQxC"
}Send agent response
Sends an agent’s reply to the contact in a conversation. Call it every time an agent replies in your third-party system, so WotNot can pass the reply on to the user.
POST
/
api
/
v1
/
conversation
/
{conversation_id}
/
messages
curl --request POST \
--url https://api.wotnot.io/api/v1/conversation/{conversation_id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": {
"data": {
"body": "Hi"
},
"type": "text"
},
"user": {
"by": "agent_email@domain.com"
}
}
'{
"ok": true,
"message_id": "6HRBshHEcV8P103039226478taGDJQxC"
}Authorizations
Path Parameters
Body
application/json
The message to send. Its shape depends on the kind of message: text, file, voice or template.
Last modified on October 22, 2026
Was this page helpful?