curl --request POST \
--url https://api.notifique.dev/v1/whatsapp/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": [
"5511999999999"
],
"type": "speak",
"payload": {
"text": "Hi! Your verification code is 1 2 3 4.",
"voice": "female"
},
"from": "clxx..."
}
'{
"success": true,
"data": {
"messageIds": [
"clxx..."
],
"status": "QUEUED",
"count": 1
}
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}Calls
Start a WhatsApp call
Dials the number, speaks text (or plays audio), then hangs up. Available today on unofficial (QR) connections. Official support is coming soon with the same shape. Types: speak (TTS), play (audio URL), or template (template text/voice).
POST
/
v1
/
whatsapp
/
calls
curl --request POST \
--url https://api.notifique.dev/v1/whatsapp/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": [
"5511999999999"
],
"type": "speak",
"payload": {
"text": "Hi! Your verification code is 1 2 3 4.",
"voice": "female"
},
"from": "clxx..."
}
'{
"success": true,
"data": {
"messageIds": [
"clxx..."
],
"status": "QUEUED",
"count": 1
}
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}Authorizations
ntfWaBearerAuthntfWaApiKeyHeader
API Key no header Authorization. Exemplo: Authorization: Bearer sk_live_xxxxx
Headers
Idempotency key. Alternative: x-idempotency-key.
Body
application/json
Chamada de voz: from, to, type e conteúdo em payload.
Call content type. Default: speak.
Available options:
speak, play, template speak: text, opcional voice/language. play: audioUrl. gather: objeto gather. template: templateId, variables.
Show child attributes
Show child attributes
Destinos E.164 sem + (ex.: 5511999887766).
Required array length:
1 - 500 elementsInstância WhatsApp: id, telefone E.164 ou nome (não use pool).
Show child attributes
Show child attributes
Was this page helpful?

