api reference

Add Sip Connection Number

POST
/v1/sip-connections/{connection_id}/numbers

Path Parameters

connection_id*Connection Id
Formatuuid

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/497f6eca-6276-4993-bfeb-53cbbbba6f08/numbers" \  -H "Content-Type: application/json" \  -d '{    "e164": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "e164": "string",  "country_code": "string",  "number_type": "string",  "capabilities": [    "string"  ],  "provisioning_state": "string",  "source": "purchased",  "sip_connection_id": "9b07d159-6506-4869-b984-801b5eb5ff6a",  "is_dedicated": true,  "voice_agent_id": "2fc8d568-5ce2-4e51-baa8-38c877b5dd08",  "sms_agent_id": "290deec0-b195-4d0c-9c32-ca9dce0ce328",  "inbound_registered": false,  "subject_type": "person",  "verification_id": "5bcbf7ac-c998-46ce-aa6e-a0c1a3f1f5bd",  "subject_name": "string"}