api reference

Create Sip Connection

POST
/v1/sip-connections

Header Parameters

authorization?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/sip-connections" \  -H "Content-Type: application/json" \  -d '{    "label": "string",    "default_region": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "label": "string",  "default_region": "string",  "sip_host": "string",  "username": "string",  "password_last4": "string",  "pbx_host": "string",  "pbx_port": 0,  "pbx_transport": "string",  "pbx_username": "string",  "pbx_password_set": true,  "created_at": "2019-08-24T14:15:22Z",  "password": "string"}