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"
}Conversation
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
All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.
Path Parameters
The ID of the conversation to reply in. It's the conversation.id you get back from Create conversation.
Body
application/json
The message to send. Its shape depends on the kind of message: text, file, voice or template.
Last modified on October 23, 2026
Was this page helpful?