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

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

callId
string
required

Pilot Status id (call_...) or Meta wacid.

Body

application/json
sdp
string
required

SDP answer from your WebRTC client.

Response

Pre-accept