Messages
Send chat template message
Send a message through the channel's template action (e.g. a WhatsApp template). Works outside the messaging window.
post/chats/{chat_id}/messages/template
Request
- Base URL: https://api.useinvent.com
- URL: https://api.useinvent.com/chats/{chat_id}/messages/template
- Auth: HTTP bearer
Path parameters
chat_idstring required
Chat ID
Request body
Response
Example response
{
"messages": [
{
"parts": [
{
"audio": {
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.