POST
/
send-message
/
voice
curl --request POST \
  --url https://api.crunchz.app/api/send-message/voice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contact_id": "xxx@c.us",
  "audioUrl": "https://github.com/CrunchzApp/asset-example/raw/main/examples/julie-voice.opus"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "status": "<string>",
    "message": "<string>",
    "timestamp": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

AudioMessageResource

The response is of type object.