Skip to main content

Create SIP endpoint

POST 

/resources/sip_endpoints

Create SIP endpoint

Request

Body

required

    username string
    password string
    caller_id string
    send_as string
    ciphers string[]

    Possible values: [AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_32]

    codecs string[]

    Possible values: [PCMU, PCMA, G722, G729, OPUS, VP8, H264]

    encryption string

    Possible values: [required, optional]

    call_handler string
    call_request_url uri
    call_request_method string

    Possible values: [GET, POST]

    call_fallback_url uri
    call_fallback_method string

    Possible values: [GET, POST]

    call_status_callback_url uri
    call_status_callback_method string

    Possible values: [GET, POST]

    call_laml_application_id uuid
    call_ai_agent_id uuid
    call_flow_id uuid
    call_flow_version uuid
    call_dialogflow_agent_id uuid
    call_relay_context string
    call_video_room_id uuid
    call_relay_script_url uri
    call_relay_script_method string

    Possible values: [GET, POST]

    calling_handler_resource_id uuid

Responses

A SIP endpoint

Schema

    id uuid
    project_id uuid
    display_name string
    type string
    created_at date-time
    updated_at date-time

    sip_endpoint

    object

    id uuid

    A unique identifier for the SIP endpoint

    username string
    password string
    caller_id string
    send_as string
    ciphers string[]

    Possible values: [AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_32]

    codecs string[]

    Possible values: [PCMU, PCMA, G722, G729, OPUS, VP8, H264]

    encryption string

    Possible values: [required, optional]

    call_handler string
    call_request_url uri
    call_request_method string

    Possible values: [GET, POST]

    call_fallback_url uri
    call_fallback_method string

    Possible values: [GET, POST]

    call_status_callback_url uri
    call_status_callback_method string

    Possible values: [GET, POST]

    call_laml_application_id uuid
    call_ai_agent_id uuid
    call_flow_id uuid
    call_flow_version uuid
    call_dialogflow_agent_id uuid
    call_relay_context string
    call_video_room_id uuid
    call_relay_script_url uri
    call_relay_script_method string

    Possible values: [GET, POST]

    calling_handler_resource_id uuid
Loading...