Operational
OperationsCRM integration

Dialout API

How CRM-triggered outbound calls flow through Ori API and Ori Core.

Flow

Request

{
  "bot_id": "bot-id-here",
  "to_number": "+919999999999",
  "from_number": "+911234567890",
  "variables": {
    "CUSTOMERNAME": "Rajesh",
    "amount": "50000"
  }
}

Fields:

FieldRequiredNotes
bot_idyesBot to run.
to_numberyesCustomer number.
from_numbernoOutbound caller ID/trunk hint.
variablesnoCRM-friendly alias for call variables.
connected_eventnoLegacy/internal equivalent of variables.

Do not send variables and connected_event together.

What Ori API adds

Ori API derives and forwards:

config_url = https://api.example.com/api/v1/config

This lets shared Ori Core fleet servers fetch config from the correct Ori API instance.

Common errors

StatusMeaning
401 / 403Missing or invalid API key/JWT, or an inactive/expired API key.
422Invalid payload, or both variables and connected_event were sent.
503No healthy Ori Core fleet capacity.
non-200 from fleetDialout failed at Ori Core/LiveKit/carrier layer.

For API-key expiry and active/inactive behavior, see CRM API keys.

On this page

Ask AI

Hi — I'm the Ori docs assistant. Ask me anything about building, running, or operating Ori.

Answers come from these docs · AI can make mistakes.