POST
/
api
/
{session}
/
status
/
voice
Enviar status de voz
curl --request POST \
  --url https://api.wappfy.com.br/api/{session}/status/voice \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "id": "BBBBBBBBBBBBBBBBB",
  "contacts": null,
  "file": {
    "mimetype": "audio/ogg; codecs=opus",
    "url": "https://github.com/devlikeapro/waha/raw/core/examples/dev.likeapro.opus"
  },
  "backgroundColor": "#38b42f"
}'

Authorizations

apikey
string
header
required

Apikey

Path Parameters

session
string
required

O nome da sessão (instanceName)

Body

application/json
file
object
required
backgroundColor
string
default:#38b42f
required
id
string

Pre-generated status message id

Example:

"BBBBBBBBBBBBBBBBB"

contacts
string[]

Contact list to send the status to.

Example:

null