Send voice status
POST
/waInstance{{idInstance}}/sendVoiceStatus/{{apiTokenInstance}}Documentation SendVoiceStatus
Request
Body Params application/json
urlFile
string
required
fileName
string
required
backgroundColor
string
required
participants
array[string]
required
Example
{
"urlFile": "https://my.site.com/img/horse.mp3",
"fileName": "horse.mp3",
"backgroundColor": "#228B22",
"participants": ["70000001234@c.us", "440000001234@c.us"] // status will be available only to the specified contacts
}
Request samples
Responses
sendVoiceStatus(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
idMessage
string
required
ExamplesendVoiceStatus
{
"idMessage": "3EB0C767D097B7C7C030"
}
Last modified: 18 days ago