Отправить голосовой статус
POST
/waInstance{{idInstance}}/sendVoiceStatus/{{apiTokenInstance}}Документация 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/audio/music.mp3",
"fileName": "music.mp3",
"backgroundColor": "#FFFFFF",
"participants": ["70000001234@c.us", "440000001234@c.us"] // статус будет доступен только указанным контактам
}
Request samples
Responses
sendVoiceStatus(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
idMessage
string
required
ExamplesendVoiceStatus
{
"idMessage": "3EB0C767D097B7C7C030"
}
Last modified: 19 days ago