API
SIP API Documentation
Complete REST API · JSON
Integrate our VoIP services into your applications. Bearer token auth, JSON, webhooks. Sandbox available.
REST / JSON Bearer token Webhooks Sandbox
Authentication
All requests require an Authorization header with your API token.
Authorization: Bearer dvs_api_YOUR_TOKEN_HERE Content-Type: application/json Accept: application/json Main endpoints
GET
/api/v1/trunks List active SIP trunks POST
/api/v1/trunks Create a new SIP trunk GET
/api/v1/did List available DID numbers POST
/api/v1/did/order Order a DID number GET
/api/v1/cdr Retrieve CDRs (Call Detail Records) GET
/api/v1/billing/balance Check account balance POST
/api/v1/webhooks Configure SIP event webhook GET
/api/v1/routes Get termination routes Example request
curl -X POST https://api.datavoipsolutions.com/api/v1/trunks \ -H "Authorization: Bearer dvs_api_YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "my-trunk-01", "auth_type": "ip", "ip_address": "203.0.113.1", "codec": ["G711u", "G711a", "opus"] }' Chapter 05 · Get started
A free wholesale test, rates within 24h.
Tell us your destinations, monthly volume, and ASR/ACD targets. We'll set up a test account and send you the tailored rate sheet.