v1
latestOpenAPI 3.1.02026-07-26327152.4 KBMessages
Send Message
Send a message to a user. Supports multiple message types including text, images, audio, video, files, stickers, location, contacts, and interactive elements.
post/v1/bots/{botId}/messages
Path parameters
botIdstring required
The unique identifier of the bot
Request body
Example request
{
"type": "text",
"userId": "593999999999",
"botId": "BOT_ID",
"text": "Hello, this is a text message"
}Response
Message sent successfully
Example response
{
"success": true,
"messageId": "msg_123456789"
}