Docs/Voice/Making Calls

Making Voice Calls

Initiate outbound voice calls using our Voice API.

Initiate a Call

POST /v1/voice/call

{
  "to": "+1234567890",
  "from": "+0987654321",
  "answer_url": "https://your-server.com/voice/answer",
  "event_url": "https://your-server.com/voice/events"
}

Call Actions

When the call is answered, your answer_url receives a request. Respond with actions:

[
  {
    "action": "talk",
    "text": "Hello! Thank you for calling WeTalk.",
    "voice": "female"
  },
  {
    "action": "input",
    "type": "dtmf",
    "event_url": "https://your-server.com/voice/input"
  }
]