Skip to main content
POST

Autorizações

Authorization
string
header
obrigatório

API Key no header Authorization. Exemplo: Authorization: Bearer sk_live_xxxxx

Cabeçalhos

Idempotency-Key
string

Idempotency key. Alternative: x-idempotency-key.

x-idempotency-key
string

Corpo

application/json

Chamada de voz: from, to, type e conteúdo em payload.

type
enum<string>
obrigatório

Call content type. Default: speak.

Opções disponíveis:
speak,
play,
template
payload
object
obrigatório

speak: text, opcional voice/language. play: audioUrl. gather: objeto gather. template: templateId, variables.

to
string[]
obrigatório

Destinos E.164 sem + (ex.: 5511999887766).

Required array length: 1 - 500 elements
from
string
obrigatório

Instância WhatsApp: id, telefone E.164 ou nome (não use pool).

options
object
clientState
string

Resposta

Chamada enfileirada.

success
boolean
Exemplo:

true

data
object