The agent clicks the customer's number in the CRM. The platform rings the agent's mobile, then the customer, from the company's landline number. Inbound calls reach the right agent. Your CRM hears about every step through webhooks and gets the recording at the end.
POST /v1/calls with the agent and the customer numberA call starts with a single request. The rest happens on the phones.
When a customer calls the company's number, the platform looks for the right person before queueing the call.
Agents log in or out by calling the company's number from their mobile: 1 to log in, 2 to log out.
Each voice on its own channel, so you can analyse what the agent says and what the customer says separately.
REST and JSON, with a public OpenAPI reference and a separate test environment.
Request the call:
curl -X POST https://voice-api.2l.ro/v1/calls \
-H "Authorization: Bearer $TENANT_KEY" \
-d '{"agent_id": "ag_…", "to": "+40733987654",
"external_ref": {"lead_id": 612}}'When the call ends, the CRM receives:
POST https://crm.example.com/telephony/events
X-Signature: sha256=…
{ "event": "call.ended",
"call": { "status": "ANSWERED", "talk_seconds": 236,
"agent": { "external_ref": "41" },
"external_ref": { "lead_id": 612 } } }Then download the recording:
curl -o call.mp3 https://voice-api.2l.ro/v1/calls/c_…/recording \
-H "Authorization: Bearer $TENANT_KEY"Idempotency-Key)call.createdcall.ringing_agentcall.agent_answeredcall.answeredcall.ivr_selectedcall.transferredcall.endedcall.recording_readycall.recording_failedagent.status_changedYou integrate on staging first, which only calls your test numbers. Then you move to production with new keys.
Read the getting started guide, with every request and example
For administrators and supervisors, no code needed.
Partners also get Grafana logs and dashboards for their calls and deliveries, with IP-restricted access.
Open the consoleIf you run a CRM with several customers, you are a partner. The partner key creates your customer companies and their keys. Each company has its own agents, lines, queues and data, kept apart from the others. Your customers don't need an account with us.
In progress: packages with minutes, concurrent calls, lines and agents, usage reports, blocklists and an emergency stop.
Write to us and we will create a test account, with your numbers on the list of allowed destinations.
Write to voice@2l.ro