Skip to main content
POST
/
v1
/
calls
/
{callId}
/
accept
Accept call
curl --request POST \
  --url https://pilotstatus.com.br/v1/calls/{callId}/accept \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "sdp": "v=0\r\n..."
}
'
{
  "success": true,
  "id": "call_01HZX...",
  "status": "ACCEPTED"
}

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

callId
string
required

Pilot Status id (call_...) or provider call id (wacid / CallID).

Body

application/json
sdp
string

SDP answer from your WebRTC client. Required on Meta numbers; omit on web numbers.

Response

Accept