POST/callsDisponível no contratoLigar
Token da inbox no header token
Parâmetros do body4
tostringobrigatórioNúmero com DDI (só dígitos) ou id.
max_secondsintegerDesliga depois deste tempo.
0ou ausente, sem limite.urlstringLink do áudio para tocar quando atenderem (a api baixa antes de ligar).
base64stringÁudio em base64.
Respostas de erro
400401429500501503
Exemplo de requisição e resposta
$ curl -X POST \ "https://sua-inbox.orkesio.dev/calls" \ -H "token: $INBOX_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "to": "5511999999999", "url": "https://exemplo.com/aviso.mp3" }'{ "call": { "id": "ABEiGmo8oqkAcAKrBYQAAAAA_1", "chat": { "id": "5511999999999@s.whatsapp.net", "type": "direct" }, "direction": "out", "video": false, "status": "offered", "at": "2026-10-17T12:00:00.000Z", "sent_by_api": true }, "audio": { "queued": true } ...
