v1
latestOpenAPI 3.0.02026-07-24378968.5 KBChat
/chat/{id}/messages
Send a message to a open chat
post/chat/{id}/messages
Path parameters
idstring required
Headers
octa-agent-emailstring
Request body
Example request
{
"attachments": [
{
"name": "image.png",
"base64": "iVBORw0KGgoAAAANSUhEUgAA...",
"mimeType": "image/png",
"url": "https://storage.googleapis.com/octadesk-bucket/files/document.pdf"
}
],
"mentions": [
{
"phoneContacts": {
"number": "119999999999",
"countryCode": "55"
}
}
]
}Response
Example response
{
"sentBy": {
"phoneContacts": {
"number": "119999999999",
"countryCode": "55"
}
},
"mentions": [
{
"phoneContacts": {
"number": "119999999999",
"countryCode": "55"
}
}
]
}