curl --request POST \
--url https://api.open.cx/phone/sip/inbound-trunk \
--header 'Content-Type: application/json' \
--data '
{
"phone_numbers": [
"<string>"
],
"krisp_enabled": true
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sip_endpoint": "<string>",
"auth_username": "<string>",
"auth_password": "<string>",
"phone_numbers": [
"<string>"
],
"krisp_enabled": true,
"agent_id_header": "<string>"
}Provision an inbound SIP trunk for your organization. Returns credentials you configure in your PBX / SIP provider. Only one inbound trunk per organization is allowed.
curl --request POST \
--url https://api.open.cx/phone/sip/inbound-trunk \
--header 'Content-Type: application/json' \
--data '
{
"phone_numbers": [
"<string>"
],
"krisp_enabled": true
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sip_endpoint": "<string>",
"auth_username": "<string>",
"auth_password": "<string>",
"phone_numbers": [
"<string>"
],
"krisp_enabled": true,
"agent_id_header": "<string>"
}Default Response
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$SIP server address to point your PBX at
SIP authentication username
SIP authentication password
Phone numbers (DIDs) this trunk answers on
Whether Krisp noise cancellation is active
SIP header name to set for routing calls to a specific agent
Was this page helpful?