Audio
Sending a audio message
POST
https://api.qikchat.in/v1/messages
To send an audio, use the request URL and the following body parameters.
accepted formats: audio/aac, audio/mp4, audio/amr, audio/mpeg, audio/ogg; codecs=opus
Request Example
{
"to_contact": "+918080808080",
"type": "audio",
"audio": {
"link": "http(s)://the-url"
}
}
Request Body
Name
Type
Description
to_contact*
string
customer whatsapp number you want to send message
type*
string
audio
audio*
object
contains link field
A successful response includes a data object with an ID for the message sent.
{
"status": true,
"message": "Messages queued successfully",
"data": [
{
"id": "52JH6WmuSruAVyXvBBYemd0Ia",
"channel": "whatsapp",
"from": "919099999916",
"recipient": "+918080808080",
"created_at": "2023-02-19T12:52:25.222Z",
"status": "queued"
}
]
}
Last updated
Was this helpful?