Get an outbound SIP trunk
curl --request GET \
--url https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"outbound_trunk": {
"id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"project_id": "3f6c1a52-8d0e-4b8f-9a51-2c7d4e0b9f13",
"name": "Carrier backup",
"address": "198.51.100.20:5060",
"auth": {
"type": "none"
},
"status": "active",
"transport": "auto",
"media_encryption": "disabled",
"created_at": "Mon Nov 09 2026 13:59:01 GMT+0000 (Coordinated Universal Time)",
"updated_at": "Mon Nov 09 2026 13:59:01 GMT+0000 (Coordinated Universal Time)"
}
}{
"error": "Invalid or revoked token"
}{
"error": "Outbound trunk not found"
}Outbound SIP trunks
Get an outbound SIP trunk
Returns one outbound SIP trunk. The password is never returned; auth.has_secret says whether one is stored.
GET
/
v1
/
projects
/
{projectId}
/
telephony
/
outbound-trunks
/
{id}
Get an outbound SIP trunk
curl --request GET \
--url https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"outbound_trunk": {
"id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"project_id": "3f6c1a52-8d0e-4b8f-9a51-2c7d4e0b9f13",
"name": "Carrier backup",
"address": "198.51.100.20:5060",
"auth": {
"type": "none"
},
"status": "active",
"transport": "auto",
"media_encryption": "disabled",
"created_at": "Mon Nov 09 2026 13:59:01 GMT+0000 (Coordinated Universal Time)",
"updated_at": "Mon Nov 09 2026 13:59:01 GMT+0000 (Coordinated Universal Time)"
}
}{
"error": "Invalid or revoked token"
}{
"error": "Outbound trunk not found"
}Authorizations
Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.