HydraCore
API by router

Voice outbound

Initiate Batch Calls

POST
/internal/v1/instances/{instance_id}/voice/batch-call

Path Parameters

instance_id*Instance Id
Formatuuid

Request Body

application/json
  1. body
calls*array<>
Itemsitems <= 30
delay_between_ms?Delay Between Ms
Range500 <= value <= 10000
Default2000

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/voice/batch-call' \  -H 'Content-Type: application/json' \  -d '{  "calls": [    {      "to_number": "string"    }  ]}'
Example Response
null

Initiate Outbound Call

POST
/internal/v1/instances/{instance_id}/voice/call

Path Parameters

instance_id*Instance Id
Formatuuid

Request Body

application/json
  1. body
context?

Context for the agent (worker name, shift details, etc.)

customer_id?|null
from_number?|

Caller ID (from channel endpoint)

max_duration_seconds?Max Duration Seconds
Range30 <= value <= 1800
Default300
to_number*To Number

Phone number to call (E.164 format)

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/voice/call' \  -H 'Content-Type: application/json' \  -d '{  "to_number": "string"}'
Example Response
null