Skip to main content
POST
Oferecer uma chamada

Autorizações

apikey
string
header
obrigatório

Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.

Parâmetros de caminho

instance
string
obrigatório

O nome de exibição do número no painel do Pilot Status.

Corpo

application/json
number
string
obrigatório

Número de telefone do destinatário no formato internacional.

Exemplo:

"5511999999999"

callDuration
integer
obrigatório

Por quanto tempo a chamada toca, em segundos (1–15).

Exemplo:

10

isVideo
boolean

true para chamada de vídeo, false para voz.

Exemplo:

false

Resposta

Sucesso — corpo de resposta nativo do provedor.

Result of offering (placing) a call to a WhatsApp contact.

id
string
obrigatório

Identifier of the offered call.

jid
string
obrigatório

WhatsApp JID of the callee the offer was placed to.

isVideo
boolean

Whether the offered call is a video call (false = audio only).

callDuration
integer

Duration in seconds after which the call is automatically terminated.