curl -X POST "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1/verify" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": {
"is_verified": true,
"health_status": "healthy",
"last_health_check_at": "2024-01-15T14:30:00Z"
}
}
Custom SIP Trunks
Verify SIP Trunk
Run a connectivity check against a SIP trunk
POST
/
api
/
v1
/
sip-trunks
/
{trunk_id}
/
verify
curl -X POST "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1/verify" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": {
"is_verified": true,
"health_status": "healthy",
"last_health_check_at": "2024-01-15T14:30:00Z"
}
}
Verify SIP Trunk
Run a connectivity check against a SIP trunk. The platform attempts to register/connect using the configured credentials and reports success or failure. Trunks must be verified before they can be activated.Endpoint
POST /api/v1/sip-trunks/{trunk_id}/verify
Path parameters
string
required
SIP trunk UUID.
Request headers
string
required
Bearer token. Format:
Bearer talq_your_environment_token_hereExamples
curl -X POST "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1/verify" \
-H "Authorization: Bearer talq_your_environment_token_here"
Response
Verification Successful
{
"success": true,
"data": {
"is_verified": true,
"health_status": "healthy",
"last_health_check_at": "2024-01-15T14:30:00Z"
}
}
Verification Failed
{
"success": false,
"data": {
"is_verified": false,
"health_status": "unhealthy",
"error": "Authentication failed (401)"
}
}
Was this page helpful?