List outbound SIP trunks
curl --request GET \
--url https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks \
--header 'Authorization: Bearer <token>'import requests
url = "https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"outbound_trunks": [
{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"project_id": "3f6c1a52-8d0e-4b8f-9a51-2c7d4e0b9f13",
"name": "Carrier primary",
"address": "sip.carrier.example.com",
"auth": {
"type": "basic",
"username": "clarity-outbound",
"has_secret": true
},
"status": "active",
"transport": "tls",
"media_encryption": "enabled",
"created_at": "Mon Nov 09 2026 13:58:20 GMT+0000 (Coordinated Universal Time)",
"updated_at": "Mon Nov 09 2026 13:58:20 GMT+0000 (Coordinated Universal Time)"
}
]
}{
"error": "Invalid or revoked token"
}{
"error": "<string>",
"code": "<string>"
}Outbound SIP trunks
List outbound SIP trunks
Returns the project’s outbound SIP trunks, oldest first. An outbound SIP trunk is the SIP endpoint of your carrier or PBX that Clarity dials through when an agent calls from one of your numbers. A trunk with username and password authentication shows has_secret; the password itself is never returned.
GET
/
v1
/
projects
/
{projectId}
/
telephony
/
outbound-trunks
List outbound SIP trunks
curl --request GET \
--url https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks \
--header 'Authorization: Bearer <token>'import requests
url = "https://voice-api.onclarity.com/v1/projects/{projectId}/telephony/outbound-trunks"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"outbound_trunks": [
{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"project_id": "3f6c1a52-8d0e-4b8f-9a51-2c7d4e0b9f13",
"name": "Carrier primary",
"address": "sip.carrier.example.com",
"auth": {
"type": "basic",
"username": "clarity-outbound",
"has_secret": true
},
"status": "active",
"transport": "tls",
"media_encryption": "enabled",
"created_at": "Mon Nov 09 2026 13:58:20 GMT+0000 (Coordinated Universal Time)",
"updated_at": "Mon Nov 09 2026 13:58:20 GMT+0000 (Coordinated Universal Time)"
}
]
}{
"error": "Invalid or revoked token"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.