Realtime

Reject call

Decline an incoming SIP call by returning a SIP status code to the caller.

post/realtime/calls/{call_id}/reject

Path parameters

call_idstring required

The identifier for the call provided in the realtime.call.incoming webhook.

Request body

status_codeinteger

SIP response code to send back to the caller. Defaults to 603 (Decline) when omitted.

Example request

{
  "status_code": 486
}

Response

Call rejected successfully.

Changes

Changed in 2 of the 163 revisions of this API.4

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog