Send Message

post
Send Message to opened session

https://api.cakes.com/api/v1/cakes/:id
This endpoint allows you to send message to opened session.
Request
Response
Request
Path Parameters
whatsapp_number
required
string
WhatsApp Number
Headers
authorization
required
string
Authorization Token
Form Data Parameters
text_message
required
string
Message to send
Response
200: OK
{
"ok": true,
"result": "success",
"message": {
"whatsappMessageId": "gBEGkZkghCQiAgmJ64ODKCC8Kio",
"text": "hey",
"media": null,
"messageContact": null,
"location": null,
"type": "text",
"time": "1601033373",
"status": 1,
"statusString": null,
"isOwner": true,
"isUnread": false,
"ticketId": "5f6d71e6ff755f4683a79672",
"avatarUrl": null,
"assignedId": null,
"operatorName": null,
"id": "5f6dd49dff755f4683a7ee1c",
"created": "2020-09-25T11:29:32.6131354Z",
"conversationId": "5eaa7da1fe17e30001f285db"
}
}

‚Äč