1. makecalldirect
Epicode docs
  • IraVoice API
    • IraVoice API (2.0.0)
    • makecall (Make outbound call)
      • Make Call
    • makecalldirect
      • Make Call Direct
        POST
    • dropcall
      • Drop Call
    • stopstream
      • Stop Stream
    • bridgecalls
      • Bridge Calls
    • transfercall
      • Transfer Call
    • Schemas
      • BridgeCalls
      • DropCall
      • HTTPValidationError
      • MakeCall
      • MakeCallDirect
      • StopStream
      • TransferCall
      • ValidationError
  • Epicode Onboarding Guide
    • 📞 IraVoice Onboarding Guide
    • Sandbox Environment
  1. makecalldirect

Make Call Direct

POST
/api/makecalldirect

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Responses

🟢200
application/json
Call request accepted and scheduled successfully
Bodyapplication/json

🟠400
🟠403
🟠404
🟠409
🟠422
🔴500
🔴503
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/makecalldirect' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "cluster": "string",
    "campaign_name": "string",
    "from_number": "",
    "to_number": "string",
    "call_params": {
        "disable_recording": false,
        "stream_on_cpa_events": [
            "LV"
        ],
        "drop_on_cpa_events": [
            "FX",
            "AM"
        ],
        "stream_frame_size_ms": 200,
        "bot_inactivity_limit": 0
    },
    "channel_vars": {
        "property1": "string",
        "property2": "string"
    },
    "cpa_config": "string",
    "dial_timeout": 0
}'
Response Response Example
200 - Success
{
    "status_code": 0,
    "status": "OK",
    "call_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "cluster": "cluster1"
}
Modified at 2026-05-13 06:57:20
Previous
Make Call
Next
Drop Call
Built with