Live

Reject an incoming SIP call. Send a required SIP rejection status_code between 300 and 699.

post/live/sessions/{session_id}/reject

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/live/sessions/{session_id}/reject
  • Auth
    HTTP bearer

Path parameters

session_idstring required

Opaque Live session identifier from the creation response or incoming-call webhook. Preserve the returned value unchanged, including its prefix.

Request body

status_codeinteger required

SIP rejection status sent to the caller. This field is required.

Example request

{
  "status_code": 486
}

Response

Session reject request accepted.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      endpoint added