📋 Call Setup

Enter JSON object with custom SIP headers. All string values will be passed as SIP headers.

🔗 API Example

Copy and paste the following to make API calls via Postman or any HTTP client:

POST /api/calls/outbound

Headers:

Content-Type: application/json

Request Body:

{
  "from": "+12015023226",
  "to": "+12019795492",
  "agent_id": "agent_123",
  "workspace_id": "workspace_456",
  "metadata": {
    "X-customer_name": "Tamrin"
  }
}

cURL Example:

curl -X POST https://relay.snapsonic.net/api/calls/outbound \
  -H "Content-Type: application/json" \
  -d '{
    "from": "+12015023226",
    "to": "+12019795492",
    "agent_id": "agent_123",
    "workspace_id": "workspace_456",
    "metadata": {
      "X-customer_name": "Tamrin"
    }
  }'

📊 Call Status

dispatched
-
Duration
-
Started
-
From
-
To

📝 Call Log