Patch a phone number to agent mapping (update AgentId, Label and SIP header variable prefix)
JWT Authorization header using Bearer scheme
In: header
Path Parameters
uuidHeader Parameters
Space to act in. Omit to use the user's default space. Must be a space the user belongs to, otherwise the request is rejected.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://api.speaknode.com/api/Telecom/phone-number-agents/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"telecom_account_id": "d63a8d2e-2b73-4bca-8e9b-df41d521bc3b",
"phone_number": "string",
"label": "string",
"agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
"agent_title": "string",
"is_active": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"sip_header_variable_prefix": "string"
}Get a phone number to agent mapping by ID GET
Previous Page
Returns the LiveKit SIP-gateway endpoint a customer's SIP provider must point at: hostname from config + resolved IPv4 addresses. Some providers (e.g. Mango) only accept an IP, others accept a domain — frontend shows both и пусть юзер выбирает что вписывать. GET
Next Page