Skip to main content
Register an inbound call that your telephony already holds, then bridge it to the SIP destination BlackBox returns. The agent answers with the variables you registered, and the call ID you stored is the correlation key on every webhook and result. What you’ll learn: When to use registration instead of linked phone numbers, how the register-then-bridge flow works, and how to handle results.

When to use it

Use Register Call when:
  • Your telephony (PBX, SIP provider, contact-center platform) receives the call first.
  • You decide per call which agent should answer and which variables it needs.
  • You need one call ID shared between your system and BlackBox for the complete call lifecycle.
Use Inbound Calls instead when a phone number should always route to the same agent.

How it works

  1. Your telephony receives the inbound call.
  2. You register the call: POST /api/v1/calls/register?agentId=….
  3. BlackBox creates the call record and returns callId and sipUri (sip:{callId}@sip-reg.blackbox.dasha.ai).
  4. You store callId and bridge the live call to sipUri.
  5. BlackBox recognizes the registered call and starts the agent with your variables.
  6. The result reaches the agent’s result webhook with the same callId.
The registration stays valid until callDeadline (default 10 minutes, maximum 24 hours). If the call is not bridged by then, it is canceled and reported through the result webhook with status: "Canceled".

Register a call

Response:

Bridge the call

Point your telephony at sipUri. Any system that can transfer or bridge a live call to a SIP URI works.
Bridge each registration exactly once. A second INVITE for the same call ID is rejected with SIP 410 Gone.
BlackBox answers the INVITE with a SIP status when it cannot take the call:

Receive the result

Configure a result webhook on the agent. The payload carries the same callId, your additionalData as callAdditionalData, the transcript, the recording URL and callType: "InboundAudio".

Webhook Events

Complete webhook payload reference

Check a registered call

To cancel a registration before it is bridged, delete the call: DELETE /api/v1/calls/{callId}.