SIPREC Connectors

Create a SIPREC connector

Changed on

Creates a new SIPREC connector configuration.

post/siprec_connectors

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/siprec_connectors
  • Auth: HTTP bearer

Request body

hoststring required

Hostname/IPv4 address of the SIPREC SRS.

portinteger required

Port for the SIPREC SRS.

namestring required

Name for the SIPREC connector resource.

app_subdomainstring

Subdomain to route the call when using Telnyx SRS (optional for non-Telnyx SRS).

Example request

{
  "host": "siprec.telnyx.com",
  "port": 5060,
  "name": "my-siprec-connector",
  "app_subdomain": "my-app"
}

Response

Return details of the SIPREC connector.

Example response

{
  "data": {
    "record_type": "siprec_connector",
    "name": "siprec-connector",
    "host": "siprec.telnyx.com",
    "port": 5060,
    "app_subdomain": "my-app-domain",
    "created_at": "2024-01-23T18:10:02.574Z",
    "updated_at": "2024-01-23T18:10:02.574Z"
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

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

    • info

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