Skip to content

API reference · v1.0.0

LexoConnect Public API

Calls, numbers, CRM, messaging, contact center and webphone for third-party systems.

The LexoConnect REST API is the same API the LexoConnect app uses, opened to other systems with API keys.

Authentication. Send Authorization: Bearer nc_live_.... Create keys in Admin → Developer → API keys. A key acts as the admin who created it, in that company only, limited to the key's scopes (listed on every operation as x-scope). A key never reaches platform, billing, trunk, channel or API key management endpoints, manages users only with the users:write scope, and never acts across companies. Keys can expire and be revoked; the last use is shown in the app and every write made with a key is in the audit log.

Conventions. JSON with camelCase fields; ids are UUIDs; times are RFC 3339. Lists return {"items": [...], "nextCursor": "..." | null}; pass cursor to get the next page. Errors return {"error": {"code", "message", "fields"?}} with codes validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, payment_required, module_disabled, media_unavailable, internal.

Rate limits. Each key has its own limit (default 600 requests a minute, set per key) on top of a per-IP limit. Over the limit the API answers 429 rate_limited with Retry-After.

Webhooks. Events are POSTed to your endpoints and signed per Standard Webhooks: headers webhook-id, webhook-timestamp and webhook-signature: v1,<base64 HMAC-SHA256(secret, id + "." + timestamp + "." + body)> where the key is the base64-decoded part of the whsec_... secret. Answer 2xx within 15 seconds; other answers are retried 9 times with exponential back-off (10 s, 30 s, 90 s, 4.5 min, 13.5 min, 40.5 min, 2 h, 6 h, 12 h). The webhook-id stays the same across retries, so use it to deduplicate. See the webhooks section below.

Webphone. Mint a short-lived token on your server (POST /webphone/tokens) and embed /embed/phone?token=... in an iframe, or load /sdk/webphone.js and call NovaWebphone.init({token, container}).

Download openapi.yaml (OpenAPI 3.1) for code generators and API clients.

Calls

Call history, click-to-call and live call control.

get/callsscope: calls:read

List calls

Newest first. Without the supervisor role the creator of the key sees only their own calls.

Parameters

directionquerystring
inbound | outbound | internal
statusquerystring
answered | missed | voicemail | ai_handled | failed | blocked
failedquerybooleantrue = only calls that did not connect and have a known reason (see failureReason).
trunkIdquerystring (uuid)Only calls that went out on this SIP trunk.
minequeryboolean
recordedquerybooleantrue = only calls with a recording.
formatquerystring
csv
csv = download the current filter as CSV (text/csv, newest first, at most 10000 rows).
pagequeryinteger 1–Page number (from 1) for page-numbered lists. Sending page or pageSize switches the response to {items, total, page, pageSize}.
pageSizequeryinteger 1–100Items per page for page-numbered lists (1-100, default 10; larger values are reduced to 100).
limitqueryinteger 1–200
cursorquerystringThe `nextCursor` of the previous page.
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls

Responses

200OKListMeta & object
401Missing, invalid, revoked or expired keyError
403The key lacks the scope, or the endpoint is not available to API keysError
get/calls/{id}scope: calls:read

Get a call

By call id or by call UUID (as in webhook payloads). Available once the call ended.

Parameters

id*pathstring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls/

Responses

200OKCall
{
  "id": "8a7c2b4e-5f1d-4c3a-9b2e-1d0f3a6b7c8d",
  "direction": "outbound",
  "from": "+14155550100",
  "to": "+12125550123",
  "fromName": "Olivia Owner",
  "toName": "+12125550123",
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "startedAt": "2026-11-07T10:00:00Z",
  "answeredAt": "2026-11-07T10:00:06Z",
  "endedAt": "2026-11-07T10:03:12Z",
  "durationSec": 192,
  "status": "answered",
  "hangupCause": "NORMAL_CLEARING",
  "hasRecording": true,
  "aiConversationId": null,
  "recordId": null,
  "dispositionId": null,
  "transferredFromUserId": null,
  "transferCount": 0,
  "callerIdUsed": "+14155550100",
  "amdResult": null
}
404Not found (also returned for objects of other companies)Error
post/calls/originatescope: calls:write

Click to call

Rings the user's softphone first; when the user answers, LexoConnect dials the destination as that user. Fraud checks, the caller ID rules (caller ID profiles, callerId only if the company owns the number), trunks and the recording policy apply exactly as when the user dials. Placing a call for another user needs the supervisor or admin role. The response comes as soon as the user's phone starts ringing.

Request body

FieldTypeDescription
to*stringE.164 number or extension.
userIdstring (uuid)The user whose phone rings first (default the key's user).
extensionstringAlternative to userId.
callerIdstringE.164 number of the company to present.
timeoutSecinteger 5–120How long the user's phone rings.
{
  "extension": "101",
  "to": "+12125550123"
}

Responses

202The user's phone is ringing
{
  "status": "ringing_user",
  "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "extension": "101",
  "userName": "Olivia Owner",
  "to": "+12125550123"
}
400ErrorError
403The key lacks the scope, or the endpoint is not available to API keysError
503The media server is not reachableError
post/calls/{id}/hangupscope: calls:write

Hang up a live call

Ends every leg of the call. The key's user must be on the call, or hold the supervisor role.

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Responses

200OK
{
  "status": "hangup",
  "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0"
}
403The key lacks the scope, or the endpoint is not available to API keysError
404Not found (also returned for objects of other companies)Error
503The media server is not reachableError
post/calls/{id}/monitorscope: calls:monitor

Listen to, whisper into or barge into a live call

id is the live call uuid (wallboard GET /supervisor/board calls, or callUuid of the call.ringing / call.answered webhooks). LexoConnect rings the phone of userId (default: the key's user; must be an active supervisor, admin or owner of the company) and, on answer, joins the call: listen (silent), whisper (heard by the agent only) or barge (three-way). 409 when the call is not connected to an agent yet or userId is the call's agent.

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
mode*string
listen | whisper | barge
userIdstring (uuid)
{
  "mode": "whisper",
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
}

Responses

200Ringing the monitoring phone
{
  "status": "ringing",
  "mode": "whisper",
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
}
400ErrorError
404Not found (also returned for objects of other companies)Error
409ErrorError
503The media server is not reachableError
get/supervisor/boardscope: calls:monitor

Wallboard snapshot (queues, agents, live calls, missedToday)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/supervisor/board

Responses

200OK
{
  "queues": [],
  "agents": [],
  "calls": [
    {
      "uuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
      "state": "talking"
    }
  ],
  "missedToday": 4,
  "at": "2026-11-07T10:00:00Z"
}
post/calls/{id}/transferscope: calls:write

Transfer a live call

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Request body

FieldTypeDescription
target*stringExtension, E.164, queue:<id>, ai_agent:<id>, voicemail:<userId> or callflow:<id>. ringgroup:<id> is still accepted for ring groups that became queues (platform v4).
modestring
blind | attended
{
  "target": "queue:6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
  "mode": "blind"
}

Responses

200OK
{
  "status": "transferring",
  "mode": "blind",
  "target": "queue:6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f"
}
400ErrorError
404Not found (also returned for objects of other companies)Error
503The media server is not reachableError
post/calls/{id}/recordingscope: calls:write

Start or stop recording

403 when recording is off for the company; 409 when already recording / not recording.

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Request body

FieldTypeDescription
action*string
start | stop
{
  "action": "start"
}

Responses

200OK
{
  "status": "recording",
  "recording": {
    "id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
    "kind": "on_demand",
    "startedAt": "2026-11-07T10:01:00Z",
    "durationSec": 0,
    "url": "/api/v1/calls/3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0/recordings/2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f/audio"
  }
}
409ErrorError
post/calls/{id}/parkscope: calls:write

Park a live call

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Request body

FieldTypeDescription
timeoutSecinteger 5–900

Responses

200OK
{
  "slot": 701,
  "timeoutSec": 120
}
post/calls/{id}/conferencescope: calls:write

Add a third party (3-way call)

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Request body

FieldTypeDescription
add*stringExtension or E.164.
{
  "add": "102"
}

Responses

200OK
{
  "status": "dialing",
  "room": "nc-tenant-call"
}
get/calls/{id}/eventsscope: calls:read

Call events (transfers, park, pickup, recording, AMD)

Parameters

id*pathstring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls//events

Responses

200OK
get/parkedscope: calls:read

Parked calls

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/parked

Responses

200OK
{
  "items": [
    {
      "slot": 701,
      "callerNumber": "+12125550123",
      "callerName": "",
      "parkedBy": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
      "parkedByName": "Olivia Owner",
      "since": "2026-11-07T10:02:00Z"
    }
  ]
}
post/parked/{slot}/pickupscope: calls:write

Pick up a parked call

Rings the key user's softphone; answering connects the parked caller.

Parameters

slot*pathinteger 701–799

Responses

200OK
{
  "status": "ringing",
  "slot": 701
}
get/dispositionsscope: calls:read

Call dispositions (wrap-up outcomes)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/dispositions

Responses

200OK
post/calls/wrapupscope: calls:write

Save a wrap-up (disposition, note, follow-up) for a call

Stores the outcome of the call that just ended on the CRM record (found by recordId, else by the customer's number), as a timeline activity, and on the dialer lead when campaignLeadId is given (its retry or completion then follows the disposition). A disposition that schedules a callback needs followUpAt, which also creates a task. Give at least one of dispositionId, note or followUpAt. Sends the call.dispositioned webhook.

Request body

FieldTypeDescription
number*stringThe customer's number (E.164).
direction*string
inbound | outbound
recordIdstring (uuid)The CRM record (default the newest record with this number).
dispositionIdstring (uuid)From `GET /dispositions`.
notestring
followUpAtstring (date-time)Schedules a follow-up task (required for callback dispositions).
followUpNotestring
campaignLeadIdstring (uuid)The dialer lead the call belonged to.
{
  "number": "+12125550123",
  "direction": "outbound",
  "dispositionId": "4b5c6d7e-8f90-4a1b-2c3d-4e5f6a7b8c9d",
  "note": "Interested, call back next week",
  "followUpAt": "2026-11-20T15:00:00Z"
}

Responses

200Where the wrap-up was stored
{
  "recordId": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
  "activityId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "taskId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e"
}
400ErrorError
post/calls/{id}/voicemail-dropscope: calls:write

Drop a saved voicemail on a live call and free the agent

The other party's leg waits for the mailbox beep and hears the message; the agent's leg is released at once.

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Request body

{
  "messageId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f"
}

Responses

202QueuedVoicemailDrop
409ErrorError
get/calls/{id}/transcriptscope: calls:read

Live transcript of a finished agent call (segments and AI summary)

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls//transcript

Responses

200OK: {callUuid, callId, status, segments[{speaker, text, at, offsetMs}], summary}
404Not found
get/calls/live/{uuid}/transcriptSigned-in users only, not API keys

Transcript of a live agent call (the agent on the call or supervisors)

Parameters

uuid*pathstring (uuid)

Responses

200OK
404Not found
post/calls/{id}/conference/leavescope: calls:write

Leave a 3-way call (the others stay connected)

The key's user hangs up their own leg of a conference started with POST /calls/{id}/conference. 409 when the call is not a conference or the user is not in it.

Parameters

id*pathstringAny leg UUID of the live call (the softphone gets it in the `X-NC-Call-UUID` header), or `current` for the user's own active call.

Responses

200Left
{
  "status": "left"
}
409ErrorError

Recordings and voicemail

get/calls/{id}/recordingscope: calls:read

Download the full-call recording

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls//recording

Responses

200WAV audio
404Not found (also returned for objects of other companies)Error
get/calls/{id}/recordingsscope: calls:read

List recordings of a call

Parameters

id*pathstringCall id or call UUID.
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls//recordings

Responses

200OKobject
get/calls/{id}/recordings/{recId}/audioscope: calls:read

Download an on-demand recording

Parameters

id*pathstring
recId*pathstring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/calls//recordings//audio

Responses

200WAV audio
get/voicemailsscope: calls:read

List voicemails

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/voicemails

Responses

200OKobject
patch/voicemails/{id}scope: calls:write

Mark a voicemail read or unread

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
readboolean
{
  "read": true
}

Responses

200OKVoicemail
delete/voicemails/{id}scope: calls:write

Delete a voicemail

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/voicemails/{id}/audioscope: calls:read

Download voicemail audio

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/voicemails//audio

Responses

200WAV audio
post/media/signscope: calls:read

Signed link to a recording or voicemail

Turns an audio path into a link that works without a token (for <audio> tags in another system or a server download). The link is bound to the path and acts with the key user's visibility. Default 1 hour, at most 24 hours. Webhook payloads of recording.ready and voicemail.created already carry a 24-hour signedUrl.

Request body

FieldTypeDescription
url*string/api/v1/calls/{id}/recording, /api/v1/calls/{id}/recordings/{recId}/audio or /api/v1/voicemails/{id}/audio
expiresInSecinteger 60–86400
{
  "url": "/api/v1/voicemails/7e6d5c4b-3a29-4180-9f8e-7d6c5b4a3928/audio"
}

Responses

200OK
{
  "url": "/api/v1/voicemails/7e6d5c4b-3a29-4180-9f8e-7d6c5b4a3928/audio?sig=v1....",
  "absoluteUrl": "https://app.example.com/api/v1/voicemails/7e6d5c4b-3a29-4180-9f8e-7d6c5b4a3928/audio?sig=v1....",
  "expiresAt": "2026-11-07T11:00:00Z"
}
400ErrorError

Numbers and routing

Phone numbers and the routing objects they point to.

get/numbersscope: numbers:read

List phone numbers

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/numbers

Responses

200OKobject
get/numbers/{id}scope: numbers:read

Get a phone number

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/numbers/

Responses

200OKPhoneNumber
patch/numbers/{id}scope: numbers:write

Change a number's routing

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
labelstring
routeTypestring
user | queue | callflow | ai_agent | ai_receptionist | voicemail | external |
routeIdstring
routeTargetstringE.164 for external routes.
scheduleIdstring | null
afterHoursRouteTypestring | null
afterHoursRouteIdstring
afterHoursTargetstring
amdAmd
{
  "amd": {
    "enabled": true,
    "action": "voicemail"
  },
  "routeType": "queue",
  "routeId": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
  "scheduleId": "1d2c3b4a-5968-4776-8594-a3b2c1d0e9f8",
  "afterHoursRouteType": "voicemail",
  "afterHoursRouteId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
}

Responses

200OKPhoneNumber
400ErrorError
get/queuesscope: numbers:read

List queues (including the former ring groups)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/queues

Responses

200OKobject
post/queuesscope: numbers:write

Create a queue

Members are rung in array order (sequential). Absent fields take the defaults (longest_idle, 20 s ring, 300 s max wait, 30 s wrap-up, wait in queue, voicemail of the tenant owner).

Request body

FieldTypeDescription
idstring (uuid)
namestring
strategystring
longest_idle | round_robin | ring_all | sequential
ringTimeoutSecinteger 5–120
maxWaitSecinteger 10–3600
wrapUpSecinteger 0–600
waitInQueueboolean
holdMusicstringhttp(s) audio URL; empty = built-in music on hold.
fallbackobject
membersobject[]In ring order (priority, then position).
createdAtstring (date-time)
updatedAtstring (date-time)
{
  "name": "Sales",
  "strategy": "sequential",
  "ringTimeoutSec": 15,
  "maxWaitSec": 60,
  "wrapUpSec": 0,
  "waitInQueue": false,
  "holdMusic": "",
  "fallback": {
    "type": "voicemail",
    "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
  },
  "members": [
    {
      "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
      "priority": 1
    },
    {
      "userId": "5a4b3c2d-1e0f-4a9b-8c7d-6e5f4a3b2c1d",
      "priority": 1
    }
  ]
}

Responses

201CreatedQueue
400ErrorError
get/queues/{id}scope: numbers:read

Get a queue

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/queues/

Responses

200OKQueue
put/queues/{id}scope: numbers:write

Replace a queue (absent fields take the defaults, absent members = none)

Parameters

id*pathstring (uuid)

Request body

{
  "name": "Sales",
  "strategy": "sequential",
  "ringTimeoutSec": 15,
  "maxWaitSec": 60,
  "wrapUpSec": 0,
  "waitInQueue": false,
  "holdMusic": "",
  "fallback": {
    "type": "voicemail",
    "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
  },
  "members": [
    {
      "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
      "priority": 1
    },
    {
      "userId": "5a4b3c2d-1e0f-4a9b-8c7d-6e5f4a3b2c1d",
      "priority": 1
    }
  ]
}

Responses

200OKQueue
patch/queues/{id}scope: numbers:write

Update a queue (absent fields unchanged)

Parameters

id*pathstring (uuid)

Request body

{
  "strategy": "ring_all",
  "fallback": {
    "type": "external",
    "target": "+14155550188"
  }
}

Responses

200OKQueue
delete/queues/{id}scope: numbers:write

Delete a queue (409 while a number routes to it)

Parameters

id*pathstring (uuid)

Responses

204Deleted
409ErrorError
post/queues/{id}/membersscope: numbers:write

Add or update a member (position 0 = last)

Parameters

id*pathstring (uuid)

Request body

{
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "priority": 1,
  "position": 0
}

Responses

200OKQueue
delete/queues/{id}/members/{userId}scope: numbers:write

Remove a member

Parameters

id*pathstring (uuid)
userId*pathstring (uuid)

Responses

204Removed
get/schedulesscope: numbers:read

List schedules (business hours)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/schedules

Responses

200OKobject
post/schedulesscope: numbers:write

Create a schedule

Request body

{
  "name": "Office",
  "timezone": "America/New_York",
  "weekly": {
    "mon": [
      {
        "start": "09:00",
        "end": "17:00"
      }
    ]
  }
}

Responses

201Created
400ErrorError
get/schedules/{id}scope: numbers:read

Get a schedule

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/schedules/

Responses

200OKSchedule
patch/schedules/{id}scope: numbers:write

Update a schedule

Parameters

id*pathstring (uuid)

Request body

{
  "holidays": [
    {
      "date": "2026-12-25",
      "name": "Holiday"
    }
  ]
}

Responses

200OKSchedule
delete/schedules/{id}scope: numbers:write

Delete a schedule

Parameters

id*pathstring (uuid)

Responses

204Deleted
404Not found (also returned for objects of other companies)Error
get/callflowsscope: numbers:read

List call flows (IVR)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/callflows

Responses

200OKobject
post/callflowsscope: numbers:write

Create a call flow

Request body

{
  "name": "Main menu",
  "graph": {
    "nodes": [
      {
        "id": "start",
        "type": "start",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {}
      },
      {
        "id": "q",
        "type": "queue",
        "position": {
          "x": 0,
          "y": 120
        },
        "data": {
          "queueId": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f"
        }
      }
    ],
    "edges": [
      {
        "id": "e1",
        "source": "start",
        "target": "q"
      }
    ]
  }
}

Responses

201Created
400ErrorError
get/callflows/{id}scope: numbers:read

Get a call flow

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/callflows/

Responses

200OKCallFlow
put/callflows/{id}scope: numbers:write

Replace a call flow

Parameters

id*pathstring (uuid)

Request body

{
  "name": "Main menu",
  "graph": {
    "nodes": [
      {
        "id": "start",
        "type": "start",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {}
      }
    ],
    "edges": []
  }
}

Responses

200OKCallFlow
delete/callflows/{id}scope: numbers:write

Delete a call flow

Parameters

id*pathstring (uuid)

Responses

204Deleted
404Not found (also returned for objects of other companies)Error
get/caller-id-profilesscope: numbers:read

List caller ID profiles

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/caller-id-profiles

Responses

200OKobject
post/caller-id-profilesscope: numbers:write

Create a caller ID profile

Request body

{
  "name": "Local presence",
  "mode": "local_presence",
  "match": "area_state"
}

Responses

201Created
400ErrorError
get/caller-id-profiles/{id}scope: numbers:read

Get a caller ID profile

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/caller-id-profiles/

Responses

200OKCallerIdProfile
patch/caller-id-profiles/{id}scope: numbers:write

Update a caller ID profile

Parameters

id*pathstring (uuid)

Request body

{
  "mode": "local_presence",
  "match": "area"
}

Responses

200OKCallerIdProfile
delete/caller-id-profiles/{id}scope: numbers:write

Delete a caller ID profile

Parameters

id*pathstring (uuid)

Responses

204Deleted
404Not found (also returned for objects of other companies)Error
post/caller-id-profiles/{id}/testscope: numbers:read

Which caller ID a call to a number would use

Parameters

id*pathstring (uuid)

Request body

{
  "to": "+12125550123"
}

Responses

200OK
{
  "callerId": "+12125550100",
  "source": "local_area",
  "detail": "Same area code 212"
}
get/numbers/availablescope: numbers:read

Search numbers you can add (local or toll-free)

Searches the number provider configured by the platform. Buying and assigning numbers is done by the platform operator; ask them to add the number you picked.

Parameters

country*querystringISO country code.
areaCodequerystring
typequerystring
local | tollfree
limitqueryinteger 1–200
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/numbers/available

Responses

200OK
{
  "items": [
    {
      "e164": "+12125550188",
      "region": "NY",
      "monthlyUsd": 1.15
    }
  ]
}
400ErrorError
post/numbers/{id}/test-callscope: numbers:write

Ring a user's phone from a number (setup test)

Rings the user's webphone or SIP phone with the number as caller ID and reads a short confirmation. Defaults to the caller.

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
userIdstring (uuid)

Responses

201Call started
{
  "callUuid": "6f1c...",
  "number": "+12125550188",
  "extension": "101"
}
404ErrorError
put/numbers/{id}/cnam

Request the outbound caller name (CNAM) of a number

Up to 15 letters, digits, spaces and . , - &. The status stays pending until the platform registers it with the carrier. An empty name clears it.

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
namestring

Responses

200OK
{
  "id": "...",
  "e164": "+12125550188",
  "cnamName": "ACME SUPPORT",
  "cnamStatus": "pending"
}
get/cnam/lookup

Caller name (CNAM) of a phone number

Answers from a 30-day cache, else asks the lookup provider when the company turned live lookups on (billed per lookup). Every lookup is logged for the Caller names report.

Parameters

number*querystring

Responses

200OK
{
  "number": "+14155550123",
  "callerName": "ACME WIDGETS",
  "callerType": "business",
  "provider": "twilio",
  "cached": false,
  "status": "ok"
}
get/cnam/lookups

Caller name lookups (report) with 30-day totals

Parameters

qquerystring
limitqueryinteger 1–200

Responses

200OK
get/cnam/settings

Whether live caller name lookups are on

Responses

200OK
put/cnam/settings

Turn live caller name lookups on or off

Request body

FieldTypeDescription
enabledboolean

Responses

200OK

CRM

get/crm/objectsscope: crm:read

List CRM objects and their fields

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/objects

Responses

200OKobject
get/crm/recordsscope: crm:read

List or search records

Parameters

object*querystringObject api name or id.
qquerystringSearch text.
ownerIdquerystringA user id, `me` or `none`.
limitqueryinteger 1–200
cursorquerystringThe `nextCursor` of the previous page.
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/records

Responses

200OKobject
post/crm/recordsscope: crm:write

Create a record

Request body

FieldTypeDescription
object*string
dataobject
ownerIdstring | null
stageIdstring
{
  "object": "contact",
  "data": {
    "name": "Grace Hopper",
    "phone": "+12125550123",
    "email": "grace@example.com"
  }
}

Responses

201CreatedRecord
{
  "id": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
  "objectId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "object": "contact",
  "title": "Grace Hopper",
  "data": {
    "name": "Grace Hopper",
    "phone": "+12125550123",
    "email": "grace@example.com"
  },
  "phones": [
    "+12125550123"
  ],
  "ownerId": null,
  "stageId": null,
  "createdAt": "2026-11-07T10:00:00Z",
  "updatedAt": "2026-11-07T10:00:00Z"
}
400ErrorError
get/crm/records/{id}scope: crm:read

Get a record

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/records/

Responses

200OKRecord
{
  "id": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
  "objectId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "object": "contact",
  "title": "Grace Hopper",
  "data": {
    "name": "Grace Hopper",
    "phone": "+12125550123",
    "email": "grace@example.com"
  },
  "phones": [
    "+12125550123"
  ],
  "ownerId": null,
  "stageId": null,
  "createdAt": "2026-11-07T10:00:00Z",
  "updatedAt": "2026-11-07T10:00:00Z"
}
404Not found (also returned for objects of other companies)Error
patch/crm/records/{id}scope: crm:write

Update a record

data is merged into the record; stageId moves it in its pipeline.

Parameters

id*pathstring (uuid)

Request body

{
  "data": {
    "email": "grace.hopper@example.com"
  }
}

Responses

200OKRecord
{
  "id": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
  "objectId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "object": "contact",
  "title": "Grace Hopper",
  "data": {
    "name": "Grace Hopper",
    "phone": "+12125550123",
    "email": "grace@example.com"
  },
  "phones": [
    "+12125550123"
  ],
  "ownerId": null,
  "stageId": null,
  "createdAt": "2026-11-07T10:00:00Z",
  "updatedAt": "2026-11-07T10:00:00Z"
}
delete/crm/records/{id}scope: crm:write

Delete a record

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/crm/lookupscope: crm:read

Find records by phone number

Matches every phone field of every object (the screen pop lookup). At most 10 results, newest first.

Parameters

phone*querystring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/lookup

Responses

200OKobject
get/crm/records/{id}/activitiesscope: crm:read

Timeline of a record

Notes, tasks, calls (with recordings, voicemail and transfers), messages and stage changes.

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/records//activities

Responses

200OKobject
post/crm/records/{id}/activitiesscope: crm:write

Add a note or task

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
type*string
note | task
bodystring
dueAtstring (date-time)
{
  "type": "note",
  "body": "Asked for a quote for 20 seats."
}

Responses

201CreatedActivity
patch/crm/activities/{id}scope: crm:write

Edit a note or complete a task

Parameters

id*pathstring (uuid)

Request body

{
  "done": true
}

Responses

200OKActivity
delete/crm/activities/{id}scope: crm:write

Delete a note or task

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/crm/records/{id}/documentsscope: crm:read

Documents on a record

Files attached to the record (uploads and generated PDFs), newest first.

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/records//documents

Responses

200OK
{
  "items": [
    {
      "id": "0b8f6c1e-2d3a-4b5c-9d8e-7f6a5b4c3d2e",
      "recordId": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
      "typeId": null,
      "typeName": "Bank statement",
      "name": "statement-march.pdf",
      "mime": "application/pdf",
      "size": 48211,
      "source": "upload",
      "templateId": null,
      "createdBy": null,
      "creatorName": "Grace Hopper",
      "createdAt": "2026-11-13T10:00:00Z"
    }
  ]
}
post/crm/records/{id}/documentsscope: crm:write

Upload a document to a record

multipart/form-data with file (at most 25 MB) and an optional typeId (a document type).

Parameters

id*pathstring (uuid)

Request body

Responses

201Created
post/crm/records/{id}/documents/generatescope: crm:write

Generate a PDF from a template and attach it

Fills the PDF template's {{merge}} fields from the record and stores the PDF as a document of the record.

Parameters

id*pathstring (uuid)

Request body

{
  "templateId": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
  "typeId": null,
  "name": "Offer letter"
}

Responses

201Created
get/crm/documents/{id}/downloadscope: crm:read

Download a document

Streams the file. ?inline=1 shows PDFs, images and text in the browser; other types always download.

Parameters

id*pathstring (uuid)
inlinequerystring
1
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/documents//download

Responses

200The file
delete/crm/documents/{id}scope: crm:write

Delete a document

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/crm/document-typesscope: crm:read

Document types of the workspace

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/document-types

Responses

200OK
{
  "items": [
    {
      "id": "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
      "name": "Contract",
      "position": 0,
      "documents": 12
    }
  ]
}
get/crm/pdf-templatesscope: crm:read

PDF templates

Templates offered on records; objectId limits the list to templates for that object (and those for any object).

Parameters

objectIdquerystring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/pdf-templates

Responses

200OK
get/crm/pdf-templates/{id}scope: crm:read

A PDF template with its body and merge fields

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/pdf-templates/

Responses

200OK
post/crm/pdf-templates/{id}/previewscope: crm:write

Render a template to PDF without saving it

Parameters

id*pathstring (uuid)

Request body

{
  "recordId": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a"
}

Responses

200The PDF
get/crm/records/{id}/meetingsscope: crm:read

Meetings booked for a record

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/records//meetings

Responses

200OK
post/crm/records/{id}/meetingsscope: crm:write

Book a meeting in Google Calendar

Checks free/busy and creates the event in the connected Google Calendar of the user (userId, admins only; default the key's owner must have connected one). 409 slot_busy when the time is taken, with fields.nextFree set to the next free start time.

Parameters

id*pathstring (uuid)

Request body

{
  "start": "2026-11-20T15:00:00-05:00",
  "durationMinutes": 30,
  "title": "Intro call",
  "attendeeEmail": "grace@example.com",
  "timeZone": "America/New_York"
}

Responses

201Created
409The calendar is busy or not connected
get/contactsscope: crm:read

List contacts (simple directory view)

Parameters

qquerystring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/contacts

Responses

200OK
{
  "items": [
    {
      "id": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
      "name": "Grace Hopper",
      "phone": "+12125550123",
      "email": "grace@example.com",
      "company": "Example Corp"
    }
  ]
}
post/contactsscope: crm:write

Create a contact

Request body

{
  "name": "Grace Hopper",
  "phone": "+12125550123",
  "email": "grace@example.com",
  "company": "Example Corp"
}

Responses

201Created
patch/contacts/{id}scope: crm:write

Update a contact

Absent fields stay unchanged.

Parameters

id*pathstring (uuid)

Request body

{
  "email": "grace.hopper@example.com"
}

Responses

200Updated contact
{
  "id": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
  "name": "Grace Hopper",
  "phone": "+12125550123",
  "email": "grace.hopper@example.com",
  "company": "Example Corp"
}
delete/contacts/{id}scope: crm:write

Delete a contact

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/crm/tasksscope: crm:read

Open tasks of the key's user across all records (soonest due first, up to 200)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/crm/tasks

Responses

200OK
{
  "items": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "recordId": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
      "type": "task",
      "body": "Call back about the quote",
      "dueAt": "2026-11-20T15:00:00Z",
      "doneAt": null,
      "recordTitle": "Grace Hopper",
      "recordObject": "contact"
    }
  ],
  "nextCursor": null
}

Messages

SMS, WhatsApp, email and chat conversations (omnichannel).

get/omni/conversationsscope: messages:read

List conversations

Parameters

statusquerystring
open | pending | closed
channelquerystring
qquerystring
cursorquerystringThe `nextCursor` of the previous page.
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/omni/conversations

Responses

200OKobject
post/omni/conversationsscope: messages:write

Start a conversation (first outbound message)

Request body

{
  "channelAccountId": "2a3b4c5d-6e7f-4809-1a2b-3c4d5e6f7a8b",
  "to": "+12125550123",
  "body": "Hi Grace, your order has shipped."
}

Responses

201CreatedOmniConversation
get/omni/conversations/{id}scope: messages:read

Get a conversation

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/omni/conversations/

Responses

200OKOmniConversation
patch/omni/conversations/{id}scope: messages:write

Assign, close or link a conversation

Parameters

id*pathstring (uuid)

Request body

{
  "status": "closed"
}

Responses

200OK
get/omni/conversations/{id}/messagesscope: messages:read

Messages of a conversation

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/omni/conversations//messages

Responses

200OKobject
post/omni/conversations/{id}/messagesscope: messages:write

Reply in a conversation

Parameters

id*pathstring (uuid)

Request body

{
  "body": "Thanks, we will call you tomorrow."
}

Responses

201CreatedOmniMessage
get/omni/channelsscope: messages:read

Channel accounts you can send from

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/omni/channels

Responses

200OK
post/messagesscope: messages:write

Send a message (SMS, WhatsApp, email, ...)

Sends one message to an address. Reuses the open conversation with that address on the channel account, or starts one. Give channelAccountId, or channel to use the company's first enabled account of that kind. WhatsApp outside the 24-hour window needs template.

Request body

FieldTypeDescription
channelstring
sms | whatsapp | email | messenger | instagram | telegram | viber | line
channelAccountIdstring (uuid)
to*string
bodystring
subjectstringEmail only.
recordIdstringLink the conversation to a CRM record.
templateobjectWhatsApp template {name, language, params}.
{
  "channel": "sms",
  "to": "+12125550123",
  "body": "Your appointment is confirmed for 3 pm."
}

Responses

201The conversation, with the message sentOmniConversation
400ErrorError
get/10dlc

10DLC brands, campaigns and US numbers that text without an approved campaign

Responses

200OK
post/10dlc/brands

Add a 10DLC brand (draft, or submit for review)

Request body

FieldTypeDescription
legalName*string
einstring
websitestring
verticalstring
submitboolean

Responses

201Created
patch/10dlc/brands/{id}

Update or submit a brand

Parameters

id*pathstring (uuid)

Responses

200OK
delete/10dlc/brands/{id}

Delete a brand and its campaigns

Parameters

id*pathstring (uuid)

Responses

204Deleted
post/10dlc/campaigns

Add a 10DLC campaign (submitting needs two sample messages)

Request body

FieldTypeDescription
brandId*string
name*string
useCasestring
descriptionstring
sampleMessagesstring[]
submitboolean

Responses

201Created
patch/10dlc/campaigns/{id}

Update or submit a campaign

Parameters

id*pathstring (uuid)

Responses

200OK
delete/10dlc/campaigns/{id}

Delete a campaign

Parameters

id*pathstring (uuid)

Responses

204Deleted
put/10dlc/campaigns/{id}/numbers

Set the numbers that text under a campaign

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
numberIdsstring (uuid)[]

Responses

200OK
post/omni/attachmentsscope: messages:write

Upload a file to attach to a message (max 10 MB)

Send multipart/form-data with a file part. Use the returned url in the attachments of a message or reply. The link is signed and valid for 24 hours.

Request body

Responses

201Uploaded
{
  "url": "/api/v1/files/...?sig=...",
  "name": "invoice.pdf",
  "mime": "application/pdf",
  "size": 48213
}
400ErrorError
get/omni/channels/{id}/templatesscope: messages:read

Approved message templates of a channel account (WhatsApp)

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/omni/channels//templates

Responses

200OK
post/omni/conversations/{id}/readscope: messages:write

Mark a conversation read

Parameters

id*pathstring (uuid)

Responses

204Marked read

Users

get/usersscope: users:read

Users and extensions

Parameters

rolequerystring
owner | admin | supervisor | agent | user
statusquerystring
active | invited | disabled
pagequeryinteger 1–Page number (from 1) for page-numbered lists. Sending page or pageSize switches the response to {items, total, page, pageSize}.
pageSizequeryinteger 1–100Items per page for page-numbered lists (1-100, default 10; larger values are reduced to 100).
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/users

Responses

200OKobject
post/usersscope: users:write

Create (invite) a user with extension, role, queues and manual outbound AMD

Uses a seat. The response carries a one-time temporary password; the user is invited by email.

Request body

{
  "email": "ana@example.com",
  "name": "Ana Agent",
  "role": "agent",
  "extension": "150",
  "queues": [
    {
      "queueId": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
      "priority": 1
    }
  ],
  "amd": {
    "enabled": false
  }
}

Responses

201Created
{
  "user": {
    "id": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "extension": "150"
  },
  "tempPassword": "..."
}
400ErrorError
402ErrorError
get/users/{id}scope: users:read

Get a user (with queue memberships)

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/users/

Responses

200OKUser
patch/users/{id}scope: users:write

Update a user (name, role, extension, status, manual outbound AMD; queues replaces the memberships)

Parameters

id*pathstring (uuid)

Request body

{
  "role": "supervisor",
  "amd": {
    "enabled": true,
    "action": "hangup"
  },
  "queues": [
    {
      "queueId": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
      "priority": 1
    }
  ]
}

Responses

200OKUser
400ErrorError
delete/users/{id}scope: users:write

Delete a user

Parameters

id*pathstring (uuid)

Responses

204Deleted
post/users/{id}/duplicatescope: users:write

Duplicate a user

Creates and invites a new user with the source user's role, phone type, manual outbound AMD, queue memberships and agent groups. Only the new name and email are needed. Uses a seat.

Parameters

id*pathstring (uuid)

Request body

{
  "name": "Ben Agent",
  "email": "ben@example.com"
}

Responses

201Created
{
  "user": {
    "id": "1c8f6e2d-3b4a-4f7e-9d0c-2b3c4d5e6f70",
    "role": "agent",
    "extension": "151"
  },
  "tempPassword": "..."
}
400ErrorError
402ErrorError
404Not found (also returned for objects of other companies)Error
get/emergency/settingsscope: users:write

E911 settings: required address, emergency numbers, routable

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/emergency/settings

Responses

200OK
put/emergency/settingsscope: users:write

Require an address before calling out; choose the emergency numbers (911, 933, 112, 999)

Request body

{
  "required": true,
  "numbers": [
    "911",
    "933"
  ]
}

Responses

200OK
400ErrorError
get/emergency/addressesscope: users:write

Every user with their emergency address

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/emergency/addresses

Responses

200OK
get/emergency/callsscope: users:write

Emergency call log

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/emergency/calls

Responses

200OK
put/users/{id}/emergency-addressscope: users:write

Set a user's dispatchable location

Parameters

id*pathstring (uuid)

Request body

{
  "street": "1 Market St",
  "street2": "Floor 5",
  "city": "San Francisco",
  "region": "CA",
  "postalCode": "94105",
  "country": "US",
  "callbackNumber": "+14155550100"
}

Responses

200OK
400ErrorError
404Not found (also returned for objects of other companies)Error
delete/users/{id}/emergency-addressscope: users:write

Remove a user's emergency address

Parameters

id*pathstring (uuid)

Responses

204Removed
get/me/phone

Your phone type, SIP settings for a softphone or desk phone, and registered devices

Responses

200OK
get/users/{id}/phone

A user's phone type, SIP settings and registered devices (admins, or the user)

Parameters

id*pathstring (uuid)

Responses

200OK
404ErrorError
post/users/{id}/phone/rotate

Create a new SIP password for a user (devices must be updated)

Parameters

id*pathstring (uuid)

Responses

200OK
get/devices

Browsers, softphones and desk phones registered to the company's extensions right now

Parameters

userIdquerystring (uuid)

Responses

200OK

Campaigns

Dialer campaigns and leads.

put/dispositionsscope: campaigns:write

Replace the disposition list

Request body

{
  "items": [
    {
      "label": "Sale",
      "outcome": "positive"
    },
    {
      "label": "Call back later"
    }
  ]
}

Responses

200OK
get/campaignsscope: campaigns:read

List campaigns

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/campaigns

Responses

200OKobject
post/campaignsscope: campaigns:write

Create a campaign

Request body

{
  "name": "Renewals",
  "object": "lead",
  "mode": "progressive",
  "windowStart": "09:00",
  "windowEnd": "18:00",
  "agentIds": [
    "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
  ],
  "amdEnabled": true,
  "amdAction": "hangup"
}

Responses

201CreatedCampaign
400ErrorError
put/campaigns/{id}scope: campaigns:write

Update a campaign

Parameters

id*pathstring (uuid)

Request body

{
  "name": "Renewals",
  "object": "lead",
  "mode": "preview",
  "windowStart": "09:00",
  "windowEnd": "18:00"
}

Responses

200OKCampaign
delete/campaigns/{id}scope: campaigns:write

Delete a campaign (pause it first)

Parameters

id*pathstring (uuid)

Responses

204Deleted
409ErrorError
get/campaigns/{id}/leadsscope: campaigns:read

Leads of a campaign

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/campaigns//leads

Responses

200OKobject
post/campaigns/{id}/leads/uploadscope: campaigns:write

Upload leads (CSV or JSON rows)

Creates or reuses CRM records (deduplicated by phone) and campaign leads. Numbers on the do-not-call list are skipped. Up to 10 000 rows per request. A JSON row may carry custom field values in data ({apiName: value}; a reused record only gets the fields it has no value for). skipInOtherCampaigns skips numbers that are open leads of another campaign (counted in duplicates and otherCampaign). To send one file in several requests, pass the uploadId of the first response with the later ones: they count as one lead upload. With details: true (form field details=true) the response adds uploadId, otherCampaign and skipped, which lists every row that was not loaded (row = index in this request's rows) with its reason: missing_phone, invalid_phone, dnc, national_dnc, duplicate_in_file, already_in_campaign or in_other_campaign.

Parameters

id*pathstring (uuid)

Request body (application/json, multipart/form-data)

{
  "fileName": "leads.csv",
  "skipInOtherCampaigns": true,
  "rows": [
    {
      "name": "Grace Hopper",
      "phone": "+12125550123",
      "email": "grace@example.com",
      "timezone": "America/New_York",
      "data": {
        "budget": 1200
      }
    }
  ]
}

Responses

200OK
{
  "added": 1,
  "duplicates": 1,
  "dnc": 0,
  "invalid": 0,
  "nationalDnc": 0,
  "otherCampaign": 0,
  "uploadId": "5b0c3a52-3f43-4a4e-9a51-0f1f0f6f2d11",
  "skipped": [
    {
      "row": 1,
      "phone": "+12125550123",
      "reason": "duplicate_in_file"
    }
  ]
}
post/campaigns/{id}/statusscope: campaigns:write

Start, pause or complete a campaign

Parameters

id*pathstring (uuid)

Request body

{
  "status": "running"
}

Responses

200OK
get/dncscope: campaigns:read

Do-not-call list

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/dnc

Responses

200OK
post/dncscope: campaigns:write

Add numbers to the do-not-call list

phones with one reason, and/or entries with a reason per number (an empty one falls back to reason); up to 10 000 numbers. added counts new numbers, existing numbers already on the list. With entries, errors lists the invalid ones (row = index in phones, then entries).

Request body

{
  "reason": "Imported",
  "entries": [
    {
      "phone": "+12125550123",
      "reason": "Asked not to be called"
    }
  ]
}

Responses

200OK
{
  "added": 1,
  "existing": 0,
  "invalid": 0,
  "errors": []
}
delete/dnc/{phone}scope: campaigns:write

Remove a number from the do-not-call list

Parameters

phone*pathstring

Responses

204Removed
404Not found (also returned for objects of other companies)Error
get/dnc/registriesscope: campaigns:read

National do-not-call registries

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/dnc/registries

Responses

200OK
post/dnc/registriesscope: campaigns:write

Add a national registry (CSV upload or JSON values)

multipart/form-data with name, country, kind (auto | number | prefix) and file (one number or area code per line, up to 64 MB), or JSON {name, country, kind, values: []}. National numbers without + get the country's calling code. Pending leads that the new list blocks are marked do not call.

Request body

{
  "name": "US National DNC",
  "country": "US",
  "values": [
    "2125550101",
    "646"
  ]
}

Responses

201Created: {registry, imported, invalid, leadsBlocked}
400ErrorError
patch/dnc/registries/{id}scope: campaigns:write

Rename or enable / disable a registry

Parameters

id*pathstring (uuid)

Request body

{
  "enabled": false
}

Responses

200OK
404Not found (also returned for objects of other companies)Error
delete/dnc/registries/{id}scope: campaigns:write

Delete a registry and its entries

Parameters

id*pathstring (uuid)

Responses

204Deleted
404Not found (also returned for objects of other companies)Error
post/dnc/registries/{id}/refreshscope: campaigns:write

Replace a registry's entries with a new upload

Parameters

id*pathstring (uuid)

Responses

200{registry, imported, invalid, leadsBlocked}
404Not found (also returned for objects of other companies)Error
get/dnc/checkscope: campaigns:read

Is a number on the do-not-call list or a national registry?

Parameters

phone*querystring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/dnc/check

Responses

200{phone, internal, registries: [{id, name, match}], blocked}
get/call-scriptsscope: campaigns:read

Agent call scripts

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/call-scripts

Responses

200OK: items with id, name, body, mergeFields, campaigns, queues, queueIds
post/call-scriptsscope: campaigns:write

Create a call script

body is formatted text (a small Markdown subset: # headings, bold, italic, - and 1. lists) with {{merge_field}} placeholders: CRM record fields by API name, first_name, last_name, name, phone, agent_name, agent_first_name, company_name.

Request body

{
  "name": "Opener",
  "body": "Hi {{first_name}}, this is {{agent_first_name}} from {{company_name}}."
}

Responses

201Created
400ErrorError
get/call-scripts/{id}scope: campaigns:read

Get a call script

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/call-scripts/

Responses

200OK
404Not found (also returned for objects of other companies)Error
put/call-scripts/{id}scope: campaigns:write

Update a call script

Parameters

id*pathstring (uuid)

Responses

200OK
404Not found (also returned for objects of other companies)Error
delete/call-scripts/{id}scope: campaigns:write

Delete a call script

Parameters

id*pathstring (uuid)

Responses

204Deleted
404Not found (also returned for objects of other companies)Error
get/call-scripts/renderscope: calls:read

The script of a campaign or queue call with merge fields filled

Parameters

campaignIdquerystring (uuid)
queueIdquerystring (uuid)
recordIdquerystring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/call-scripts/render

Responses

200{script (null when none), text, values}
put/queues/{id}/scriptscope: campaigns:write

Assign a call script to a queue (null clears it)

Parameters

id*pathstring (uuid)

Request body

{
  "scriptId": null
}

Responses

200OK
404Not found (also returned for objects of other companies)Error
put/campaigns/{id}/live-transcriptionSigned-in users only, not API keys

Turn live transcription of a campaign's calls on or off

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
enabledboolean

Responses

200OK
post/campaigns/{id}/leads/loadscope: campaigns:write

Add CRM records as leads (optionally filtered)

Adds records of the campaign's CRM object as leads. Records without a phone and records already in the campaign are skipped. Filters are optional; ownerId accepts a user id or none.

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
ownerIdstringUser id, or `none` for unowned records.
stageIdstring (uuid)Pipeline stage.
qstringText search on the record title.
{
  "stageId": "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d"
}

Responses

200Leads added
{
  "added": 42
}
400ErrorError

Ringless voicemail

Voicemail message library and ringless voicemail / voicemail drops (own dialer, drop by call, RVM vendors).

get/voicemail-messagesscope: rvm:read

List voicemail messages

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/voicemail-messages

Responses

200OKobject
post/voicemail-messagesscope: rvm:write

Upload a recording or generate a message with the AI voice

multipart/form-data with name and file (WAV or MP3, 1 s to 3 min, at most 20 MB), or JSON {name, text, voice} to synthesize with the platform AI voice (billed as AI usage). Audio is stored as 16 kHz mono WAV.

Request body (multipart/form-data, application/json)

{
  "name": "Cleaning reminder",
  "text": "Hi, this is Northwind Dental. Your cleaning is due; call us back at 415 555 0100."
}

Responses

201CreatedVoicemailMessage
400ErrorError
502ErrorError
get/voicemail-messages/{id}scope: rvm:read

Get a voicemail message

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/voicemail-messages/

Responses

200OKVoicemailMessage
patch/voicemail-messages/{id}scope: rvm:write

Rename a voicemail message

Parameters

id*pathstring (uuid)

Request body

{
  "name": "Spring offer v2"
}

Responses

200OKVoicemailMessage
delete/voicemail-messages/{id}scope: rvm:write

Delete a voicemail message (not while a running campaign uses it)

Parameters

id*pathstring (uuid)

Responses

204Deleted
409ErrorError
get/voicemail-messages/{id}/audioscope: rvm:read

Download the message audio (WAV)

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/voicemail-messages//audio

Responses

200WAV audio
get/rvm/vendorsscope: rvm:read

Supported RVM vendors and their account fields

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/rvm/vendors

Responses

200OK
get/rvm/dropsscope: rvm:read

List drops with counts per status

Parameters

campaignIdquerystring (uuid)
statusquerystring
queued | sent | delivered | machine_dropped | human_answered | no_answer | failed
limitqueryinteger 1–500
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/rvm/drops

Responses

200OKobject
post/rvm/dropsscope: rvm:write

Send one voicemail

The recipient must have given prior express consent (consentAttested: true). Do-not-call and blocked numbers are refused, and so are times outside 08:00-21:00 where the recipient is. The result arrives by webhook (rvm.delivered / rvm.failed) and on GET /rvm/drops/{id}.

Request body

{
  "phone": "+14155550142",
  "messageId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
  "method": "native",
  "humanAction": "hangup",
  "consentAttested": true
}

Responses

202QueuedVoicemailDrop
400ErrorError
409ErrorError
get/rvm/drops/{id}scope: rvm:read

Get a drop

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/rvm/drops/

Responses

200OKVoicemailDrop

AI agents

Voice AI agents for inbound and outbound calls (LiveKit), their knowledge and call history.

get/ai-agentsscope: ai:read

List AI agents

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents

Responses

200OKobject
post/ai-agentsscope: ai:write

Create an AI agent

Request body

{
  "name": "Front desk",
  "language": "en",
  "voice": "alloy",
  "greeting": "Thanks for calling Acme, how can I help?",
  "instructions": "Answer questions about opening hours and book callbacks.",
  "tools": {
    "hangup": {
      "enabled": true
    },
    "transfer_call": {
      "enabled": true,
      "targets": [
        {
          "name": "Sales",
          "type": "queue",
          "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f"
        }
      ]
    }
  },
  "amdEnabled": true,
  "amdAction": "hangup"
}

Responses

201CreatedAIAgent
400ErrorError
get/ai-agents/voicesscope: ai:read

Voices of the platform text-to-speech provider

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents/voices

Responses

200OK
get/ai-agents/statusscope: ai:read

Readiness of LiveKit, the SIP bridge and the agent worker

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents/status

Responses

200OK
{
  "livekit": true,
  "worker": true,
  "sip": true
}
get/ai-agents/callsscope: ai:read

AI call history

Parameters

agentIdquerystring (uuid)
directionquerystring
inbound | outbound | test
outcomequerystring
cursorquerystringThe `nextCursor` of the previous page.
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents/calls

Responses

200OKobject
get/ai-agents/calls/{id}scope: ai:read

One AI call (transcript, tool log, collected fields, recording, price)

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents/calls/

Responses

200OKAICall
get/ai-agents/{id}scope: ai:read

Get an AI agent

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents/

Responses

200OKAIAgent
patch/ai-agents/{id}scope: ai:write

Update an AI agent (absent fields unchanged)

Parameters

id*pathstring (uuid)

Request body

{
  "enabled": false
}

Responses

200OKAIAgent
delete/ai-agents/{id}scope: ai:write

Delete an AI agent (409 while a number routes to it or a running campaign uses it)

Parameters

id*pathstring (uuid)

Responses

204Deleted
409ErrorError
post/ai-agents/{id}/knowledgescope: ai:write

Add a knowledge source (URL to crawl, text or FAQ)

Parameters

id*pathstring (uuid)

Request body

{
  "type": "url",
  "title": "Website",
  "source": "https://www.example.com"
}

Responses

201Created
delete/ai-agents/{id}/knowledge/{sourceId}scope: ai:write

Remove a knowledge source

Parameters

id*pathstring (uuid)
sourceId*pathstring (uuid)

Responses

204Removed
post/ai-agents/{id}/callsscope: ai:write

Place an outbound AI agent call

Wallet and fraud checks apply; the call is dialed like a user call (least-cost routing, caller ID rules, recording). 503 when LiveKit or the providers are not ready.

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
to*string
variablesobject
recordIdstring (uuid)
{
  "to": "+12125550123",
  "variables": {
    "name": "Grace"
  }
}

Responses

202DialingAICall
400ErrorError
503The media server is not reachableError
post/ai-agents/{id}/test-callSigned-in users only, not API keys

Ring your own softphone and talk to the agent (signed-in users only, not API keys)

Parameters

id*pathstring (uuid)

Responses

202Ringing your softphone
{
  "status": "ringing_user",
  "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
  "extension": "101"
}
get/ai-agents/{id}/versionsscope: ai:read

Prompt version history of an AI agent (every save is a version)

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents//versions

Responses

200OK: items[{version, note, createdBy, createdByName, createdAt, current}]
get/ai-agents/{id}/versions/{version}scope: ai:read

One version with its settings snapshot

Parameters

id*pathstring (uuid)
version*pathinteger 1–
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/ai-agents//versions/

Responses

200OK
post/ai-agents/{id}/versions/{version}/publishscope: ai:write

Restore a version (saved again as the newest version)

Parameters

id*pathstring (uuid)
version*pathinteger 1–

Responses

200The agent

Reports

Call, missed call, agent, queue and campaign reports.

get/reports/ivr-logsscope: reports:read

IVR logs (node path, key presses, timestamps, outcome per call)

Parameters

fromquerystring (date)
toquerystring (date)
callflowIdquerystring
callUuidquerystring
keypressquerystring
formatquerystring
json | csv
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/ivr-logs

Responses

200{from, to, items: [{callUuid, flowName, from, to, startedAt, keypresses, outcome, steps}]}
get/reports/lead-uploadsscope: reports:read

Lead upload history (who, when, file, added / skipped counts)

Parameters

fromquerystring (date)
toquerystring (date)
campaignIdquerystring (uuid)
formatquerystring
json | csv
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/lead-uploads

Responses

200OK
get/reportsscope: reports:read

Calls, agents, queues, dispositions, campaigns and pipelines for a date range

Parameters

fromquerystring (date)
toquerystring (date)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports

Responses

200OK. totals include amdHuman, amdMachine, amdUnknown (calls where AMD ran).
get/reports/call-qascope: reports:read

AI QA scorecards of reviewed calls

Reviewed calls (AI agent calls, recorded or live-transcribed agent calls, voicemails) with the seven category scores (greeting, discovery, productKnowledge, objectionHandling, compliance, closing, tone; 0-10), the overall score, objections and compliance flags, plus averages. Default range: the last 30 days.

Parameters

fromquerystring (date)
toquerystring (date)
kindquerystring
ai | agent | voicemail
userIdquerystring (uuid)
aiAgentIdquerystring (uuid)
minScorequerynumber 0–10
maxScorequerynumber 0–10
flagquerystring
disclosurePlayed | recordingNotice | consent | dncRequest | abusiveLanguage | misleadingClaims
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/call-qa

Responses

200OK: {from, to, count, average, categories, flagCounts, items[]}
get/reports/missed-callsscope: reports:read

Missed calls by number, queue, agent, hour or day

Inbound calls of the company between from and to (dates in the company timezone; default the last 7 days, at most 366). missed = abandoned (not answered while in a queue) + noAnswer (not answered outside a queue) + voicemail. blocked, machine (inbound AMD) and aiHandled are counted separately and are not missed. format=csv returns the same rows as CSV with a Total row.

Parameters

fromquerystring (date)
toquerystring (date)
groupByquerystring
number | queue | agent | hour | day
formatquerystring
json | csv
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/missed-calls

Responses

200OKobject
400ErrorError
get/reports/callbacksscope: reports:read

Callbacks scheduled, completed (on time = within an hour), missed (open a day after due), overdue and upcoming

Parameters

fromquerystring (date)
toquerystring (date)
groupByquerystring
agent | campaign
formatquerystring
csv
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/callbacks

Responses

200OK: {from, to, groupBy, items[], total} (or CSV)
get/reports/attendancescope: reports:read

Agent attendance per day (time in each state, first online, last offline, breaks, sign-ins) with shift adherence

Parameters

fromquerystring (date)
toquerystring (date)
userIdquerystring (uuid)
timezonequerystringIANA time zone of the days (default the workspace time zone)
formatquerystring
csv
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/attendance

Responses

200OK: {from, to, timezone, items[]} (or CSV)
get/reports/ai-callsscope: reports:read

Recorded agent and AI calls with their AI review status (analyse one with POST /calls/{id}/review)

Parameters

fromquerystring (date)
toquerystring (date)
numberquerystring
kindquerystring
ai | agent
campaignIdquerystring (uuid)
outcomequerystring
reviewquerystring
none | pending | done | failed
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/reports/ai-calls

Responses

200OK: {from, to, items[]}

Webphone

post/webphone/tokensscope: webphone

Mint a webphone token

Call this from your server. The token is single use, valid 5 minutes by default (30 s to 1 hour), and lets /embed/phone or /sdk/webphone.js sign in as one user's softphone. Minting for another user needs the admin role. Pages that embed the webphone must be listed in Developers → Embed → Allowed origins.

Request body

FieldTypeDescription
userIdstring (uuid)
ttlSecinteger 30–3600
{
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "ttlSec": 300
}

Responses

201Created
{
  "token": "ncwp_...",
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "expiresAt": "2026-11-07T10:05:00Z",
  "embedUrl": "https://app.example.com/embed/phone?token=ncwp_...",
  "sdkUrl": "https://app.example.com/sdk/webphone.js"
}
403The key lacks the scope, or the endpoint is not available to API keysError
404Not found (also returned for objects of other companies)Error
post/webphone/sessionscope: none (token)

Exchange a webphone token for SIP credentials

Used by the iframe and the SDK; you rarely call it yourself. No API key: the token is the credential, and it works once. Browser requests from origins that are not allowed get 403 (CORS is answered for allowed origins).

Request body

{
  "token": "ncwp_..."
}

Responses

200OKobject
401Missing, invalid, revoked or expired keyError
403The key lacks the scope, or the endpoint is not available to API keysError

Webhooks

Manage webhook endpoints and read the delivery log.

get/webhooks/eventsscope: webhooks

Event catalogue

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/webhooks/events

Responses

200OK
{
  "items": [
    {
      "type": "call.ended",
      "description": "A call ended; data is the call record"
    }
  ]
}
get/webhooks/endpointsscope: webhooks

List endpoints

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/webhooks/endpoints

Responses

200OKobject
post/webhooks/endpointsscope: webhooks

Create an endpoint

The URL must be https and resolve to public addresses. Returns the signing secret.

Request body

FieldTypeDescription
url*string
descriptionstring
eventsstring[]
activeboolean
{
  "url": "https://example.com/hooks/lexo",
  "events": [
    "call.ended",
    "recording.ready"
  ]
}

Responses

201Created
{
  "endpoint": {
    "id": "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d",
    "url": "https://example.com/hooks/lexo",
    "events": [
      "call.ended",
      "recording.ready"
    ],
    "active": true
  },
  "secret": "whsec_..."
}
400ErrorError
get/webhooks/endpoints/{id}scope: webhooks

Get an endpoint

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/webhooks/endpoints/

Responses

200OKWebhookEndpoint
patch/webhooks/endpoints/{id}scope: webhooks

Update an endpoint (URL, events, active)

Parameters

id*pathstring (uuid)

Request body

{
  "active": false
}

Responses

200OKWebhookEndpoint
delete/webhooks/endpoints/{id}scope: webhooks

Delete an endpoint and its delivery log

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/webhooks/endpoints/{id}/secretscope: webhooks

Reveal the signing secret

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/webhooks/endpoints//secret

Responses

200OK
{
  "secret": "whsec_..."
}
post/webhooks/endpoints/{id}/rotate-secretscope: webhooks

Rotate the signing secret

Parameters

id*pathstring (uuid)

Responses

200OK
{
  "secret": "whsec_..."
}
post/webhooks/endpoints/{id}/testscope: webhooks

Send a test event now

Delivers a webhook.test event synchronously and returns the delivery with its result.

Parameters

id*pathstring (uuid)

Responses

200OKWebhookDelivery
get/webhooks/deliveriesscope: webhooks

Delivery log (last 30 days)

Parameters

endpointIdquerystring (uuid)
statusquerystring
pending | delivered | failed
eventquerystring
limitqueryinteger 1–200
cursorquerystringThe `nextCursor` of the previous page.
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/webhooks/deliveries

Responses

200OKobject
get/webhooks/deliveries/{id}scope: webhooks

A delivery with payload and attempts

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/webhooks/deliveries/

Responses

200OKWebhookDelivery
post/webhooks/deliveries/{id}/replayscope: webhooks

Replay a delivery now

Same webhook-id, new timestamp and signature. A failed replay goes back on the retry schedule.

Parameters

id*pathstring (uuid)

Responses

200OKWebhookDelivery

Account

get/mescope: any

Who am I

The user the key acts as, and the company. Works with any valid key.

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/me

Responses

200OK
{
  "user": {
    "id": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "name": "Olivia Owner",
    "role": "owner",
    "extension": "101"
  },
  "tenant": {
    "id": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
    "name": "Acme"
  }
}
401Missing, invalid, revoked or expired keyError

Insurance

LexoConnect for Insurance (needs the insurance module): agent licenses and ready-to-sell status, license-matched routing, lead vendors and the lead intake log, lead ROI, Scope of Appointment, the TPMO disclaimer and commissions. Lead vendors post leads to POST /leads/post with their own vendor key (not an API key).

get/insurance/agentsscope: insurance:read

Agents with NPN and state licenses

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/agents

Responses

200OK
403ErrorError
put/insurance/agents/{id}/licensesscope: insurance:write

Replace an agent's NPN and state licenses

Request body

{
  "npn": "17734211",
  "licenses": [
    {
      "state": "TX",
      "licenseNumber": "2045123",
      "lines": [
        "health",
        "medicare"
      ],
      "resident": true,
      "expiresOn": "2027-06-30"
    }
  ]
}

Responses

200OK
400ErrorError
403ErrorError
put/insurance/agents/{id}/appointmentsscope: insurance:write

Replace an agent's carrier appointments

Request body

{
  "appointments": [
    {
      "carrier": "Humana",
      "states": [
        "TX",
        "FL"
      ],
      "status": "appointed",
      "writingNumber": "H123",
      "expiresOn": "2027-12-31"
    }
  ]
}

Responses

200OK
400ErrorError
403ErrorError
put/insurance/agents/{id}/certificationsscope: insurance:write

Replace an agent's certifications (AHIP, carrier training, CE)

Request body

{
  "certifications": [
    {
      "kind": "ahip",
      "planYear": 2027,
      "completedOn": "2026-07-01"
    }
  ]
}

Responses

200OK
400ErrorError
403ErrorError
put/insurance/agents/{id}/eoscope: insurance:write

Set an agent's E&O cover

Request body

{
  "insurer": "NAPA",
  "policyNumber": "EO-1",
  "coverageAmount": 1000000,
  "expiresOn": "2027-12-31"
}

Responses

200OK
400ErrorError
403ErrorError
delete/insurance/agents/{id}/eoscope: insurance:write

Remove an agent's E&O record

Responses

204Removed
get/insurance/licensesscope: insurance:read

Licenses, filtered by agent, state or expiry

Parameters

userIdquerystring
statequerystring
expiringDaysqueryinteger
expiredqueryboolean
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/licenses

Responses

200OK
403ErrorError
post/insurance/licenses/importscope: insurance:write

Import licenses from CSV

Request body

{
  "csv": "email,npn,state,license_number,lines,expires_on\njane@agency.com,17734211,TX,2045123,health;medicare,2027-06-30\n"
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/coveragescope: insurance:read

Licensed agents per state

Parameters

linequerystring
health | life | accident_health | medicare | property | casualty
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/coverage

Responses

200OK
403ErrorError
get/insurance/readinessscope: insurance:read

Ready-to-sell status per agent

Parameters

carrierquerystring
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/readiness

Responses

200OK
403ErrorError
get/insurance/routing-logscope: insurance:read

License routing decisions (audit log)

Parameters

campaignIdquerystring
queueIdquerystring
decisionquerystring
assigned | connected | no_licensed_agent | state_unknown
fromquerystring (date)
toquerystring (date)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/routing-log

Responses

200OK
403ErrorError
get/insurance/campaigns/{id}/licensingscope: insurance:read

A campaign's license, ready-to-sell and TPMO settings with lead coverage per state

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/campaigns/{id}/licensing

Responses

200OK
403ErrorError
put/insurance/campaigns/{id}/licensingscope: insurance:write

Change a campaign's insurance compliance settings (fields left out keep their value)

Request body

{
  "requireLicense": true,
  "licenseLine": "medicare",
  "readyCarrier": "Humana",
  "requireAhip": true,
  "requireEo": true,
  "tpmoDisclaimer": true
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/campaigns/{id}/disclaimerscope: insurance:read

The TPMO disclaimer agents read on this campaign's calls

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/campaigns/{id}/disclaimer

Responses

200OK
403ErrorError
post/insurance/disclaimersscope: insurance:write

Record that the agent read the TPMO disclaimer

Request body

{
  "campaignId": "6f2a6917-d2ee-470d-839f-9ad7d2cbeb00",
  "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0"
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/queuesscope: insurance:read

Queues with their license settings

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/queues

Responses

200OK
403ErrorError
put/insurance/queues/{id}/licensingscope: insurance:write

Change a queue's license and ready-to-sell settings

Request body

{
  "requireLicense": true,
  "licenseLine": "medicare",
  "readyCarrier": "Humana"
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/vendorsscope: insurance:read

Lead vendors with month-to-date counts

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/vendors

Responses

200OK
403ErrorError
post/insurance/vendorsscope: insurance:write

Create a lead vendor (the answer has its posting key, shown once)

Request body

{
  "name": "SeniorQuotes",
  "costPerLead": 32.5,
  "campaignId": "6f2a6917-d2ee-470d-839f-9ad7d2cbeb00",
  "dedupeDays": 30,
  "requireConsent": true,
  "states": [
    "TX",
    "FL"
  ]
}

Responses

200OK
400ErrorError
403ErrorError
put/insurance/vendors/{id}scope: insurance:write

Update a lead vendor

Request body

{
  "name": "SeniorQuotes",
  "costPerLead": 30,
  "active": true
}

Responses

200OK
400ErrorError
403ErrorError
delete/insurance/vendors/{id}scope: insurance:write

Delete a lead vendor

Responses

204Deleted
post/insurance/vendors/{id}/rotate-keyscope: insurance:write

Issue a new posting key (the old one stops working)

Request body

{}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/intakescope: insurance:read

Posted leads with result, cost and consent evidence

Parameters

statusquerystring
accepted | duplicate | dnc | rejected
vendorIdquerystring
fromquerystring (date)
toquerystring (date)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/intake

Responses

200OK
403ErrorError
get/insurance/reports/lead-roiscope: insurance:read

Lead spend, contact rate, sales, cost per sale, commission and ROI

Parameters

groupByquerystring
vendor | campaign | state | agent | zip | product | day
fromquerystring (date)
toquerystring (date)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/reports/lead-roi

Responses

200OK
403ErrorError
get/insurance/reports/disclaimersscope: insurance:read

TPMO disclaimer compliance per agent

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/reports/disclaimers

Responses

200OK
403ErrorError
get/insurance/soascope: insurance:read

Scope of Appointment records (for one lead, or a date range with report access)

Parameters

recordIdquerystring
fromquerystring (date)
toquerystring (date)
includeVoidedqueryboolean
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/soa

Responses

200OK
403ErrorError
post/insurance/soascope: insurance:write

Record a Scope of Appointment

Request body

{
  "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "beneficiaryName": "Dorothy Hughes",
  "products": [
    "ma",
    "pdp"
  ],
  "method": "recorded_call",
  "initiatedBy": "agent",
  "appointmentAt": "2026-11-28T15:00:00Z"
}

Responses

200OK
400ErrorError
403ErrorError
post/insurance/soa/{id}/voidscope: insurance:write

Void a Scope of Appointment with a reason

Request body

{
  "reason": "Appointment moved; a new SOA will be taken"
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/settingsscope: insurance:read

Insurance settings (NIPR subscription; the PIN is never returned)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/settings

Responses

200OK
403ErrorError
post/insurance/nipr/syncscope: insurance:write

Refresh agents' licenses from NIPR (all agents with an NPN, or one)

Request body

{
  "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/integrationsscope: insurance:read

HealthSherpa, Sunfire and contracting platform settings with each inbound webhook URL (API keys are never returned)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/integrations

Responses

200OK
400ErrorError
403ErrorError
put/insurance/integrations/{provider}scope: insurance:write

Save an integration (apiKey is write-only; leave it out to keep the stored key, send "" to remove it)

Request body

{
  "enabled": true,
  "linkTemplate": "https://www.healthsherpa.com/?_agent_id={agent_id}&zip_code={zip}",
  "apiBaseUrl": "https://api.partner.example.com/v1",
  "apiKey": "secret",
  "accountId": "AG-77"
}

Responses

200OK
400ErrorError
403ErrorError
post/insurance/integrations/{provider}/rotate-tokenscope: insurance:write

Create a new inbound webhook URL (the old one stops working)

Responses

200OK
400ErrorError
403ErrorError
post/insurance/integrations/{provider}/testscope: insurance:write

Call the API URL with the stored key and report the answer

Responses

200OK
400ErrorError
403ErrorError
post/insurance/integrations/{provider}/importscope: insurance:write

Import an enrollment or book-of-business CSV (healthsherpa, sunfire); creates or updates Policies by policy number

Request body

{
  "fileName": "book.csv",
  "csv": "Application ID,Member Name,Phone,Issuer,Status\nFFM-1001,Maria Lopez,5125550101,Blue Cross TX,Effectuated\n"
}

Responses

200OK
400ErrorError
403ErrorError
put/insurance/integrations/{provider}/agents/{userId}scope: insurance:write

Set an agent's ID at the provider (empty removes it)

Request body

{
  "externalId": "HS-AGENT-9"
}

Responses

200OK
400ErrorError
403ErrorError
get/insurance/integrations/{provider}/eventsscope: insurance:read

The last 100 integration events (webhooks

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/integrations/{provider}/events

Responses

200OK
400ErrorError
403ErrorError
get/insurance/integrations/handoffsscope: insurance:read

Enabled handoff links for the agent desk

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/integrations/handoffs

Responses

200OK
400ErrorError
403ErrorError
get/insurance/integrations/{provider}/handoffscope: insurance:read

The agent's handoff link filled in with the lead (logs the handoff)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/insurance/integrations/{provider}/handoff

Responses

200OK
400ErrorError
403ErrorError
post/integrations/{provider}/{token}

Inbound webhook for an integration (the secret URL authenticates)

healthsherpa and sunfire: enrollment JSON, one object, an array, or an object with a data, enrollments, policies or records array. Keys are matched loosely (policy_number or application id, member name, phone, carrier or issuer, plan, product, status, effective_date, premium, agent_id or NPN; nested objects are read). contracting: {requestId or externalRef, status, writingNumber, note}; approved creates the appointment.

Request body

{
  "policy_number": "FFM-1001",
  "status": "Effectuated",
  "member": {
    "first_name": "Maria",
    "last_name": "Lopez",
    "phone": "5125550101"
  },
  "carrier": "Blue Cross TX"
}

Responses

200Processed
{
  "created": 1,
  "updated": 0,
  "skipped": 0,
  "errors": []
}
403Integration turned off
404Unknown webhook URL
post/leads/post

Post a lead (lead vendors)

Authenticated with the vendor key in X-Lead-Key (or Authorization: Bearer lv_...), not an API key. JSON or form-encoded. Common vendor field names are accepted (phone, first_name, last_name, email, state, zip, product, date_of_birth, lead_id...). Consent evidence: consent: {text, timestamp, ip, url}, trustedform_cert_url or jornaya_leadid. The lead is checked for consent, allowed states, duplicates and do-not-call lists, created in the CRM and added to the vendor's campaign.

Parameters

X-Lead-Key*headerstring

Request body

{
  "first_name": "Jane",
  "last_name": "Doe",
  "phone": "+12145550123",
  "state": "TX",
  "zip": "75201",
  "product": "Medicare Advantage",
  "consent": {
    "text": "By submitting I agree to be called...",
    "timestamp": "2026-11-25T14:03:11Z",
    "ip": "198.51.100.7",
    "url": "https://example.com/quote"
  },
  "trustedform_cert_url": "https://cert.trustedform.com/abc"
}

Responses

200Processed
{
  "status": "accepted",
  "leadId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
}
401Unknown vendor key
403Vendor paused

MCP

Model Context Protocol server for AI assistants (Streamable HTTP, JSON responses). Point an MCP client at /api/v1/mcp with an API key as a Bearer token. Every tool runs as the matching REST request, so the key's scopes decide what the assistant may do.

post/mcpscope: any key; each tool needs the scope of the request it runs

MCP JSON-RPC endpoint (initialize, tools/list, tools/call, ping)

Request body

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lead_roi_report",
    "arguments": {
      "groupBy": "vendor"
    }
  }
}

Responses

200JSON-RPC response
202Notification accepted

Platform admin

Signed-in platform admins only (installation operators). API keys are always refused here, whatever their scopes. "Switch account" lets a platform admin act as a tenant user for support; see each operation.

delete/platform/tenants/{id}Signed-in users only, not API keys

Delete a suspended tenant

Platform admins only. The tenant must be suspended, must not hold a platform admin, must have no partner customers and no call in progress (409 tenant_not_suspended, platform_tenant, tenant_has_customers, active_calls). confirmName must equal the tenant name (400 otherwise). The tenant is hidden at once and its users, sessions and API keys stop working; a background job then removes its data: numbers from platform carriers return to the inventory, its own trunks, routes, campaigns, contacts, calls, messages and stored files are deleted. Wallet ledger, top-ups, invoices, usage and audit rows are kept for accounting with personal data removed, and the tenant stays as a tombstone named "Deleted tenant <id prefix>". Audited as tenant.delete.

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
confirmName*stringThe tenant's exact name.

Responses

202Deleted; the data purge runs in the background.
{
  "id": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "status": "deleting",
  "deletedAt": "2026-11-13T11:30:00Z"
}
400ErrorError
403The key lacks the scope, or the endpoint is not available to API keysError
404Not found (also returned for objects of other companies)Error
409ErrorError
get/platform/tenants/{id}/usersSigned-in users only, not API keys

List a tenant's users (Switch account picker)

Platform admins only (signed-in session). API keys get 403.

Parameters

id*pathstring (uuid)

Responses

200OK
{
  "items": [
    {
      "id": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
      "email": "olivia@acme.example",
      "name": "Olivia Owner",
      "role": "owner",
      "status": "active",
      "isPlatformAdmin": false
    }
  ]
}
403The key lacks the scope, or the endpoint is not available to API keysError
404Not found (also returned for objects of other companies)Error
get/platform/usersSigned-in users only, not API keys

Users of every tenant (the Users page in platform scope)

Platform admins only (signed-in session). q matches name, email and tenant name. At most 5000 rows are read per request; page with page/pageSize.

Parameters

tenantIdquerystring (uuid)
rolequerystring
owner | admin | supervisor | agent | user
statusquerystring
active | invited | disabled
platformAdminquerystring
1
1 = only platform admins.
qquerystring
pagequeryinteger 1–Page number (from 1) for page-numbered lists. Sending page or pageSize switches the response to {items, total, page, pageSize}.
pageSizequeryinteger 1–100Items per page for page-numbered lists (1-100, default 10; larger values are reduced to 100).

Responses

200OK
{
  "items": [
    {
      "id": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
      "email": "olivia@acme.example",
      "name": "Olivia Owner",
      "role": "owner",
      "status": "active",
      "extension": "101",
      "tenantId": "2d3e4f50-6172-4839-a4b5-c6d7e8f90a1b",
      "tenantName": "Acme Inc",
      "isPlatformAdmin": false
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 10
}
403The key lacks the scope, or the endpoint is not available to API keysError
get/platform/trunks-allSigned-in users only, not API keys

Every SIP trunk with its owner (Carriers & SIP trunks)

Shared platform trunks and every tenant's own trunks. Passwords are never returned, only whether one is set. Platform admins only (signed-in session).

Parameters

ownerquerystringplatform = shared trunks only; a tenant id = that tenant's trunks only.
pagequeryinteger 1–Page number (from 1) for page-numbered lists. Sending page or pageSize switches the response to {items, total, page, pageSize}.
pageSizequeryinteger 1–100Items per page for page-numbered lists (1-100, default 10; larger values are reduced to 100).

Responses

200OK
{
  "items": [
    {
      "id": "90084101-98bb-4652-a370-84d51e702b31",
      "scope": "tenant",
      "name": "Main carrier",
      "host": "sip.carrier.example",
      "port": 5060,
      "transport": "udp",
      "countryCode": "1",
      "ownerTenantId": "2d3e4f50-6172-4839-a4b5-c6d7e8f90a1b",
      "ownerTenantName": "Acme Inc",
      "carrierId": null,
      "carrierName": ""
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 10
}
403The key lacks the scope, or the endpoint is not available to API keysError
post/platform/switch-accountSigned-in users only, not API keys

Switch account (act as a tenant user)

Starts a support session as a user of a tenant. Platform admins only (signed-in session); API keys, tenant owners and admins, partners and agents get 403. userId defaults to the tenant's owner (else its first admin). The response is a normal session for that user plus impersonation; its access token lives 60 minutes and the whole session (refreshes included) ends 8 hours after the switch. While switched, two-factor settings, API key creation or changes, email verification resend, and demoting, disabling or deleting the owner (or granting ownership) answer 403 impersonation_blocked. Every request is logged with both user ids, and switch_account.start / switch_account.end are written to the audit log of the platform admin's tenant and of the target tenant; edits made while switched carry impersonatorId in their audit entry. Another platform admin cannot be switched into (403) and a suspended tenant answers 409 tenant_suspended.

Request body

FieldTypeDescription
tenantId*string (uuid)
userIdstring (uuid)Defaults to the owner (else the first admin).

Responses

201Switched session
{
  "accessToken": "eyJ...",
  "refreshToken": "...",
  "expiresIn": 3600,
  "user": {
    "id": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "name": "Olivia Owner",
    "role": "owner"
  },
  "tenant": {
    "id": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
    "name": "Acme"
  },
  "impersonation": {
    "impersonatorId": "3d4e5f6a-7b8c-4d9e-0f1a-2b3c4d5e6f7a",
    "impersonatorName": "Sam Support",
    "impersonatorEmail": "support@platform.example",
    "startedAt": "2026-11-12T10:00:00Z",
    "expiresAt": "2026-11-12T18:00:00Z"
  }
}
403The key lacks the scope, or the endpoint is not available to API keysError
404Not found (also returned for objects of other companies)Error
409Tenant suspended, no owner or admin to default to, or the user is not active
post/auth/switch-backSigned-in users only, not API keys

Return to the platform admin's own account

Call with the switched access token. Ends the switched session (its refresh tokens are revoked; pass refreshToken to revoke the current one too) and returns the platform admin's own session. A session that is not switched answers 409.

Request body

FieldTypeDescription
refreshTokenstring

Responses

200The platform admin's own session (same shape as sign-in)
401Missing, invalid, revoked or expired keyError
409Not a switched session

AI

get/ai/featuresSigned-in users only, not API keys

The company's AI switches (call review, translation, required AI disclosure)

Responses

200OK: {configured, callReview, translation, aiDisclosureRequired}
put/ai/featuresSigned-in users only, not API keys

Change the AI switches (admins)

Request body

FieldTypeDescription
callReviewboolean
translationboolean
aiDisclosureRequiredboolean

Responses

200OK
post/ai/translateSigned-in users only, not API keys

Translate a message, a draft reply or a transcript (AI; billed per use)

Request body

FieldTypeDescription
text*string
targetLanguage*stringISO 639-1 code from GET /ai/languages

Responses

200OK: {translation, targetLanguage, detectedLanguage, characters}
403Translation is turned off for the company
get/ai/languagesSigned-in users only, not API keys

Languages available for translation

Responses

200OK

Queues

put/queues/{id}/live-transcriptionSigned-in users only, not API keys

Turn live transcription of a queue's calls on or off (admins)

Parameters

id*pathstring (uuid)

Request body

FieldTypeDescription
enabledboolean

Responses

200OK

Security

get/security/signin-approvalSigned-in users only, not API keys

New device sign-in approval mode (admins)

Responses

200OK: {mode: off|email|admin|either, emailConfigured, pendingApprovals}
put/security/signin-approvalSigned-in users only, not API keys

Change the sign-in approval mode (admins)

Request body

FieldTypeDescription
modestring
off | email | admin | either

Responses

200OK
get/security/signin-approvalsSigned-in users only, not API keys

Sign-ins waiting for approval and recent decisions (admins)

Responses

200OK
post/security/signin-approvals/{id}/{decision}Signed-in users only, not API keys

Approve or deny a pending sign-in (admins)

Parameters

id*pathstring (uuid)
decision*pathstring
approve | deny

Responses

204Done
409The sign-in is no longer waiting
get/me/devicesSigned-in users only, not API keys

The caller's trusted devices

Responses

200OK
delete/me/devices/{id}Signed-in users only, not API keys

Remove one of the caller's trusted devices

Parameters

id*pathstring (uuid)

Responses

204Removed
get/security/devicesSigned-in users only, not API keys

Trusted devices of the company (admins)

Parameters

userIdquerystring (uuid)

Responses

200OK
delete/security/devices/{id}Signed-in users only, not API keys

Remove a trusted device (admins)

Parameters

id*pathstring (uuid)

Responses

204Removed

Channels

get/channels/gmail/statusSigned-in users only, not API keys

Whether Google sign-in is set up, the OAuth redirect URI and the caller's personal mailbox

Responses

200OK
post/channels/gmail/connectSigned-in users only, not API keys

Start connecting a Gmail mailbox (returns the Google consent URL)

Request body

FieldTypeDescription
namestring
personalbooleantrue = the caller's own mailbox (assigned to them); false = a shared mailbox (channel:manage)
labelsstring[]

Responses

200OK: {url}

Contact center

get/callbacksscope: calls:read

Callback queue (your own, or everyone's for supervisors)

Callbacks are CRM tasks from wrap-ups with a follow-up time (also dialer reschedules) and ones added by hand. Status upcoming, due, overdue (15 minutes late) or done.

Parameters

scopequerystring
mine | all
statusquerystring
open | due | overdue | upcoming | done | all
ownerIdquerystring (uuid)
campaignIdquerystring (uuid)
qquerystringName or number
fromquerystring (date)
toquerystring (date)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/callbacks

Responses

200OK: {items[], mine: {due, overdue, upcoming}, scope}
post/callbacksscope: calls:write

Schedule a callback on a CRM record (supervisors may assign it to another user)

Request body

{
  "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "dueAt": "2026-11-14T15:00:00Z",
  "note": "Call back about the quote",
  "ownerId": null
}

Responses

201Created callback
patch/callbacks/{id}scope: calls:write

Mark a callback done or reopen it, reschedule, reassign (supervisors) or edit the note

Parameters

id*pathstring (uuid)

Request body

{
  "done": true
}

Responses

200Updated callback
404Not found
get/shiftsscope: reports:read

Agent shifts (working hours per weekday)

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/shifts

Responses

200OK: {items[]}
post/shiftsscope: users:write

Create a shift (admins)

Request body

{
  "name": "Day",
  "timezone": "America/New_York",
  "days": [
    1,
    2,
    3,
    4,
    5
  ],
  "startTime": "09:00",
  "endTime": "17:00",
  "userIds": [
    "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
  ]
}

Responses

201Created
patch/shifts/{id}scope: users:write

Update a shift and (with userIds) replace its agents

Parameters

id*pathstring (uuid)

Responses

200Updated
delete/shifts/{id}scope: users:write

Delete a shift

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/agent-groupsscope: users:read

Agent groups with their agents and the campaigns and queues limited to them

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/agent-groups

Responses

200OK: {items[]}
post/agent-groupsscope: users:write

Create an agent group (admins)

A campaign, queue or CRM record limited to groups is visible only to agents in one of them (admins and supervisors see everything).

Request body

{
  "name": "Client A team",
  "userIds": [
    "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f"
  ],
  "campaignIds": [],
  "queueIds": []
}

Responses

201Created
patch/agent-groups/{id}scope: users:write

Update a group; userIds, campaignIds and queueIds replace the lists when given

Parameters

id*pathstring (uuid)

Responses

200Updated
delete/agent-groups/{id}scope: users:write

Delete an agent group

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/access-scopes/{type}/{id}scope: users:read

The agent groups a campaign, queue or CRM record is limited to

Parameters

type*pathstring
campaign | queue | record
id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/access-scopes//

Responses

200OK: {resourceType, resourceId, groupIds[]}
put/access-scopes/{type}/{id}scope: users:write

Limit a campaign, queue or CRM record to agent groups ([] = everyone)

Parameters

type*pathstring
campaign | queue | record
id*pathstring (uuid)

Request body

{
  "groupIds": [
    "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d"
  ]
}

Responses

200Saved

Messaging

get/consentscope: crm:read

Consent ledger (every opt-in and opt-out with source, proof and who recorded it)

Parameters

channelquerystring
voice | sms | whatsapp | email | rvm
statusquerystring
opt_in | opt_out
addressquerystring
recordIdquerystring (uuid)
fromquerystring (date)
toquerystring (date)
formatquerystring
csv
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/consent

Responses

200OK: {items[]} (or CSV)
post/consentscope: crm:write

Record an opt-in or opt-out for an address on one or more channels

The newest event of an address on a channel is its state. Sends, dialer dials and ringless drops to an opted-out address are refused (409 consent_opt_out), and where the workspace requires an opt-in, outreach without one is refused (409 consent_required).

Request body

{
  "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "channels": [
    "sms",
    "voice"
  ],
  "address": "+14155550123",
  "status": "opt_in",
  "source": "web_form",
  "proof": "Signed up on example.com/demo"
}

Responses

201Created: {items[]}
get/consent/records/{id}scope: crm:read

Current consent of every phone number and email of a CRM record, with its history

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/consent/records/

Responses

200OK: {states[], history[]}
get/consent/settingsscope: crm:read

Channels that require an opt-in before outreach

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/consent/settings

Responses

200OK: {requireOptIn[]}
put/consent/settingsscope: crm:write

Set the channels that require an opt-in before outreach (admins)

Request body

{
  "requireOptIn": [
    "email",
    "whatsapp"
  ]
}

Responses

200Saved
post/omni/conversations/{id}/ai-replyscope: messages:write

AI draft of the next reply (or a full email) from the thread and the knowledge base; nothing is sent

Parameters

id*pathstring (uuid)

Request body

{
  "mode": "reply",
  "instruction": "Offer a call tomorrow"
}

Responses

200OK: {mode, subject, body, usedKnowledge}
get/message-campaignsscope: campaigns:read

Scheduled SMS, WhatsApp and email campaigns with delivery, reply and opt-out counts

Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/message-campaigns

Responses

200OK: {items[]}
post/message-campaignsscope: campaigns:write

Create a message campaign to a CRM list (audience by object, stage, owner and search, or recordIds)

Request body

{
  "name": "Spring offer",
  "channelAccountId": "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d",
  "objectId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
  "audience": {
    "search": "Acme"
  },
  "body": "Hi {{first_name}}, our spring offer is live.",
  "timezone": "America/New_York",
  "scheduledAt": "2026-11-20T14:00:00Z",
  "ratePerMin": 30
}

Responses

201Created (draft)
get/message-campaigns/{id}scope: campaigns:read

One message campaign

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/message-campaigns/

Responses

200OK
patch/message-campaigns/{id}scope: campaigns:write

Edit a draft, scheduled or paused campaign (the audience and channel are fixed once sending started)

Parameters

id*pathstring (uuid)

Responses

200Updated
delete/message-campaigns/{id}scope: campaigns:write

Delete a campaign that is not sending

Parameters

id*pathstring (uuid)

Responses

204Deleted
get/message-campaigns/{id}/previewscope: campaigns:read

Recipient count and the first message rendered with its merge fields

Parameters

id*pathstring (uuid)
Try it

Sends a real read-only request to this installation. The key stays in this browser tab and is never stored.

GET /api/v1/message-campaigns//preview

Responses

200OK: {recipients, sample: {to, subject, body}}
post/message-campaigns/{id}/statusscope: campaigns:write

Schedule (needs scheduledAt), send now, pause, resume or cancel

Parameters

id*pathstring (uuid)

Request body

{
  "status": "sending"
}

Responses

200Updated
409Not allowed from the current status

Webhook events

Every delivery is a POST with the JSON envelope {type, timestamp, tenantId, data} and the Standard Webhooks headers.

call.ringing

A call started ringing

For calls of every kind, once per call. userId is the user being rung when known.

{
  "type": "call.ringing",
  "timestamp": "2026-11-07T10:00:01Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
    "direction": "inbound",
    "from": "+12125550123",
    "to": "+14155550100",
    "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "at": "2026-11-07T10:00:01Z"
  }
}
call.answered

A call was connected to a person (or the AI receptionist)

{
  "type": "call.answered",
  "timestamp": "2026-11-07T10:00:06Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
    "direction": "inbound",
    "from": "+12125550123",
    "to": "+14155550100",
    "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "at": "2026-11-07T10:00:06Z"
  }
}
call.ended

A call ended

data is the Call plus callUuid. Sent once per call.

call.dispositioned

An agent saved the outcome of a call (endpoints limited to a campaign get only that campaign's)

{
  "type": "call.dispositioned",
  "timestamp": "2026-11-13T10:05:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "callId": "5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a",
    "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "number": "+14155550123",
    "direction": "outbound",
    "agentId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "dispositionId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
    "disposition": "Call back",
    "outcome": "follow_up",
    "note": "Wants a quote",
    "followUpAt": "2026-11-14T15:00:00Z",
    "callbackId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f",
    "campaignId": "4d5e6f7a-8b9c-4d0e-1f2a-3b4c5d6e7f8a",
    "campaignLeadId": null,
    "recordingUrl": "/api/v1/calls/5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a/recording",
    "at": "2026-11-13T10:05:00Z"
  }
}
call.transferred

A call was transferred

{
  "type": "call.transferred",
  "timestamp": "2026-11-07T10:01:30Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
    "kind": "transfer_blind",
    "fromUserId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "toUserId": null,
    "target": "queue:6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
    "at": "2026-11-07T10:01:30Z"
  }
}
recording.ready

A recording finished

signedUrl downloads the audio for 24 hours without a key.

{
  "type": "recording.ready",
  "timestamp": "2026-11-07T10:03:13Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "id": "full",
    "kind": "full",
    "callId": "8a7c2b4e-5f1d-4c3a-9b2e-1d0f3a6b7c8d",
    "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
    "durationSec": 186,
    "url": "/api/v1/calls/8a7c2b4e-5f1d-4c3a-9b2e-1d0f3a6b7c8d/recording",
    "signedUrl": "https://app.example.com/api/v1/calls/8a7c2b4e-5f1d-4c3a-9b2e-1d0f3a6b7c8d/recording?sig=v1...."
  }
}
voicemail.created

A caller left a voicemail

{
  "type": "voicemail.created",
  "timestamp": "2026-11-07T10:05:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "voicemail": {
      "id": "7e6d5c4b-3a29-4180-9f8e-7d6c5b4a3928",
      "from": "+12125550123",
      "fromName": "",
      "durationSec": 21,
      "transcript": "",
      "read": false,
      "createdAt": "2026-11-07T10:05:00Z"
    },
    "callId": "8a7c2b4e-5f1d-4c3a-9b2e-1d0f3a6b7c8d",
    "callUuid": "3f0c1d8e-7a51-4d1b-9a3e-2b51d2f4b6a0",
    "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "url": "/api/v1/voicemails/7e6d5c4b-3a29-4180-9f8e-7d6c5b4a3928/audio",
    "signedUrl": "https://app.example.com/api/v1/voicemails/7e6d5c4b-3a29-4180-9f8e-7d6c5b4a3928/audio?sig=v1...."
  }
}
message.received

An inbound message arrived

{
  "type": "message.received",
  "timestamp": "2026-11-07T10:06:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "conversationId": "1f2e3d4c-5b6a-4798-8a9b-0c1d2e3f4a5b",
    "channel": "sms",
    "channelAccountId": "2a3b4c5d-6e7f-4809-1a2b-3c4d5e6f7a8b",
    "from": "+12125550123",
    "message": {
      "id": "3b4c5d6e-7f80-4912-a3b4-c5d6e7f8a9b0",
      "direction": "inbound",
      "body": "Can you call me back?",
      "status": "delivered",
      "createdAt": "2026-11-07T10:06:00Z"
    }
  }
}
message.status

Delivery status of an outbound message changed

{
  "type": "message.status",
  "timestamp": "2026-11-07T10:06:05Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "conversationId": "1f2e3d4c-5b6a-4798-8a9b-0c1d2e3f4a5b",
    "messageId": "4c5d6e7f-8091-4a2b-b3c4-d5e6f7a8b9c0",
    "channel": "sms",
    "status": "delivered",
    "error": null
  }
}
contact.created

A CRM record was created

Fires for records of every CRM object (contacts, leads, deals, companies, custom); data.object names it. data is the Record.

contact.updated

A CRM record was updated

campaign.lead.completed

A campaign lead reached a final state

status is completed (dispositioned or message left), failed (attempts used up) or dnc.

{
  "type": "campaign.lead.completed",
  "timestamp": "2026-11-07T10:10:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "leadId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
    "campaignId": "6f7a8b9c-0d1e-4f2a-b3c4-d5e6f7a8b9c0",
    "recordId": "5d1f8e2a-3b4c-4d5e-8f9a-0b1c2d3e4f5a",
    "phone": "+12125550123",
    "status": "completed",
    "result": "Interested",
    "dispositionId": "4b5c6d7e-8f90-4a1b-2c3d-4e5f6a7b8c9d",
    "attempts": 2
  }
}
rvm.delivered

A ringless voicemail or voicemail drop was left in the mailbox

data is the VoicemailDrop (status delivered for vendors, machine_dropped for calls).

rvm.failed

A ringless voicemail or voicemail drop could not be delivered

data is the VoicemailDrop (status failed or no_answer; error says why).

agent.state

A contact center agent changed state

{
  "type": "agent.state",
  "timestamp": "2026-11-07T10:11:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "userId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "name": "Olivia Owner",
    "extension": "101",
    "state": "on_call",
    "reason": "",
    "since": "2026-11-07T10:11:00Z",
    "wrapUntil": null,
    "campaignId": null,
    "queues": [
      "Support"
    ]
  }
}
ai.call.ended

An AI agent call ended

data is the AI call (see the AICall schema) with transcript, summary, outcome, tool calls, collected fields and price.

{
  "type": "ai.call.ended",
  "timestamp": "2026-11-07T10:12:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "agentId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
    "direction": "inbound",
    "status": "ended",
    "from": "+12125550123",
    "to": "+14155550100",
    "durationSec": 74,
    "outcome": "resolved",
    "amdResult": "",
    "summary": "Caller asked for opening hours.",
    "transcript": [
      {
        "role": "agent",
        "text": "Thanks for calling Acme, how can I help?",
        "at": "2026-11-07T10:10:47Z"
      }
    ],
    "toolCalls": [],
    "collected": {},
    "priceUsd": 0.09
  }
}
insurance.lead.received

A lead vendor posted a lead

{
  "type": "insurance.lead.received",
  "timestamp": "2026-11-25T14:03:12Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "leadId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "status": "accepted",
    "reason": "",
    "recordId": "0b7e5d1c-2a3f-4e6d-8c9b-1a2b3c4d5e6f",
    "vendorName": "SeniorQuotes",
    "phone": "+12145550123",
    "state": "TX",
    "product": "Medicare Advantage"
  }
}
insurance.soa.created

A Scope of Appointment was recorded

{
  "type": "insurance.soa.created",
  "timestamp": "2026-11-25T14:03:12Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
    "beneficiaryName": "Dorothy Hughes",
    "products": [
      "ma",
      "pdp"
    ],
    "method": "recorded_call",
    "meets48h": true
  }
}
insurance.soa.voided

A Scope of Appointment was voided

{
  "type": "insurance.soa.voided",
  "timestamp": "2026-11-25T14:03:12Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
    "voidReason": "Appointment moved"
  }
}
insurance.license.expiring

An agent license expires in 30 or 7 days

{
  "type": "insurance.license.expiring",
  "timestamp": "2026-11-25T14:03:12Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "licenseId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f",
    "agentName": "Kevin Ward",
    "state": "FL",
    "expiresOn": "2026-12-25",
    "daysLeft": 30
  }
}
insurance.commission.created

A commission line was created for a policy

{
  "type": "insurance.commission.created",
  "timestamp": "2026-11-25T14:03:12Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "id": "4d5e6f7a-8b9c-4d0e-1f2a-3b4c5d6e7f8a",
    "policyId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
    "kind": "advance",
    "amount": 611,
    "agentName": "Kevin Ward"
  }
}
insurance.chargeback.created

A cancelled policy created a commission chargeback

{
  "type": "insurance.chargeback.created",
  "timestamp": "2026-11-25T14:03:12Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "id": "6f7a8b9c-0d1e-4f2a-3b4c-5d6e7f8a9b0c",
    "policyId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
    "amount": -458.25,
    "agentName": "Kevin Ward"
  }
}
webhook.test

Test event (Send test event)

Always delivered to the endpoint it was sent for, whatever events it subscribes to.

{
  "type": "webhook.test",
  "timestamp": "2026-11-07T10:12:00Z",
  "tenantId": "9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
  "data": {
    "message": "This is a test event from LexoConnect.",
    "endpointId": "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d"
  }
}

Schemas

Error

FieldTypeDescription
error*object

ListMeta

FieldTypeDescription
nextCursorstring | null

Call

FieldTypeDescription
idstring (uuid)
directionstring
inbound | outbound | internal
fromstring
tostring
fromNamestring
toNamestring
userIdstring | null (uuid)The agent who handled the call last.
startedAtstring (date-time)
answeredAtstring | null (date-time)
endedAtstring | null (date-time)
durationSecinteger
statusstring
answered | missed | voicemail | ai_handled | failed
hangupCausestring
hasRecordingboolean
aiConversationIdstring | null
recordIdstring | nullLinked CRM record.
dispositionIdstring | null
transferredFromUserIdstring | null
transferCountinteger
callerIdUsedstring
amdResultstring | null
human | machine | unknown
failureSipCodeinteger | nullSIP error the carrier (or the caller's leg) answered, e.g. 503. Null when the call connected.
failureSipPhrasestringReason phrase of that SIP answer, e.g. Service Unavailable.
failureQ850integer | nullQ.850 cause code of the failed leg.
endedBystring
| caller | callee | carrier | system
Which side ended the call.
failureReasonstringPlain-English reason the call did not connect, e.g. The carrier could not complete the call (503 Service Unavailable). Empty when it connected.
trunkIdstring | null (uuid)SIP trunk the call went out on

Recording

FieldTypeDescription
idstring
kindstring
full | on_demand
startedAtstring (date-time)
stoppedAtstring (date-time)
durationSecinteger
startedBystring
urlstringRelative audio path. Fetch it with the API key, or turn it into a token-free link with POST /media/sign.

Voicemail

FieldTypeDescription
idstring (uuid)
fromstring
fromNamestring
durationSecinteger
transcriptstring
readboolean
createdAtstring (date-time)

PhoneNumber

FieldTypeDescription
idstring (uuid)
e164string
labelstring
routeTypestring | null
user | queue | callflow | ai_agent | ai_receptionist | voicemail | external
routeIdstring | null
routeNamestring | null
routeTargetstring
scheduleIdstring | null
afterHoursRouteTypestring | null
afterHoursRouteIdstring | null
afterHoursTargetstring
capabilitiesstring[]
monthlyUsdnumber
amdAmd

Amd

Answering machine detection, the same shape everywhere (numbers: inbound, actions hangup | voicemail | continue; users (manual outbound), campaigns and AI agents: hangup | message | continue). {} or enabled false = off.

FieldTypeDescription
enabledboolean
actionstring
hangup | voicemail | message | continue
messagestringSpoken after the beep for action message.

Queue

One queue model (ring groups are queues). Strategies: longest_idle and round_robin offer the call to one Available agent at a time; ring_all rings every eligible member at once; sequential rings them one after another in member order (ringTimeoutSec each). ring_all / sequential ring members who are not on a call or ringing, not on break, not in wrap-up, not in a dialer campaign and not on DND (agent desk state offline still rings). waitInQueue false = one pass, then the fallback; true = hold music (holdMusic, empty = built in) until maxWaitSec.

FieldTypeDescription
idstring (uuid)
namestring
strategystring
longest_idle | round_robin | ring_all | sequential
ringTimeoutSecinteger 5–120
maxWaitSecinteger 10–3600
wrapUpSecinteger 0–600
waitInQueueboolean
holdMusicstringhttp(s) audio URL; empty = built-in music on hold.
fallbackobject
membersobject[]In ring order (priority, then position).
createdAtstring (date-time)
updatedAtstring (date-time)

AIAgent

FieldTypeDescription
idstring (uuid)
namestring
enabledboolean
languagestring
voicestringA voice id from GET /ai-agents/voices.
greetingstring
instructionsstring
businessDescriptionstring
toolsobjectEnabled tools and their settings: hangup, transfer_call (named targets: extension, queue, number, ai_agent; cold or warm), send_message, update_crm, schedule_callback, http actions (url, method, JSON schema of arguments, signed like webhooks), collect_info (typed fields), search_knowledge.
maxDurationSecinteger 30–7200
silenceTimeoutSecinteger 5–300
amdEnabledbooleanOutbound answering machine detection (runs before the agent speaks).
amdActionstring
hangup | message | continue
amdMessagestring
callerIdNumberIdstring | nullOutbound caller ID (a DID of the company).
knowledgeobject[]
statsobject
createdAtstring (date-time)
updatedAtstring (date-time)

AICall

FieldTypeDescription
idstring (uuid)
agentIdstring | null
agentNamestring
directionstring
inbound | outbound | test
statusstring
ringing | active | ended | failed
transportstringlivekit or the voice gateway fallback.
callUuidstring
callIdstring | nullThe CDR (GET /calls/{id}).
fromstring
tostring
campaignIdstring | null
leadIdstring | null
recordIdstring | null
variablesobject
startedAtstring (date-time)
answeredAtstring | null (date-time)
endedAtstring | null (date-time)
durationSecinteger
outcomestring
amdResultstring
human | machine | unknown |
endReasonstring
summarystring
transcriptobject[]
toolCallsobject[]
collectedobject
usageobject
priceUsdnumber
recordingUrlstring

MissedCounts

FieldTypeDescription
inboundinteger
answeredinteger
missedintegerabandoned + noAnswer + voicemail
abandonedintegerNot answered while in a queue.
noAnswerintegerNot answered outside a queue.
voicemailinteger
blockedintegerCall protection; not missed.
machineintegerInbound AMD machine that was not connected; not missed.
aiHandledintegerNot missed.
missedPctnumbermissed / (answered + missed) in percent.

Schedule

FieldTypeDescription
idstring (uuid)
namestring
timezonestring
weeklyobject
holidaysobject[]
openNowboolean

CallFlow

FieldTypeDescription
idstring (uuid)
namestring
graphobjectReact Flow graph: {nodes, edges}.
updatedAtstring (date-time)

CallerIdProfile

FieldTypeDescription
idstring (uuid)
namestring
modestring
fixed | local_presence | rotate | url
numberIdsstring[]
fixedNumberIdstring | null
fallbackNumberIdstring | null
isDefaultboolean

CrmObject

FieldTypeDescription
idstring (uuid)
apiNamestring
labelstring
fieldsobject[]

Record

FieldTypeDescription
idstring (uuid)
objectIdstring
objectstring
titlestring
dataobject
phonesstring[]
ownerIdstring | null
stageIdstring | null
createdAtstring (date-time)
updatedAtstring (date-time)

Activity

FieldTypeDescription
idstring (uuid)
recordIdstring
typestring
note | task | call | email | message | meeting | stage_change
bodystring
userIdstring | null
callIdstring | null
dueAtstring | null (date-time)
doneAtstring | null (date-time)
createdAtstring (date-time)

OmniConversation

FieldTypeDescription
idstring (uuid)
channelstring
sms | whatsapp | email | webchat | messenger | instagram | telegram | viber | line
channelAccountIdstring | null
peerAddressstring
peerNamestring
statusstring
open | pending | closed
assigneeIdstring | null
recordIdstring | null
unreadinteger
canReplyboolean
updatedAtstring (date-time)

OmniMessage

FieldTypeDescription
idstring (uuid)
directionstring
inbound | outbound
bodystring
statusstring
queued | sent | delivered | read | failed
errorstring | null
senderNamestring
createdAtstring (date-time)

User

FieldTypeDescription
idstring (uuid)
emailstring
namestring
rolestring
owner | admin | supervisor | agent | user
extensionstring
presencestring
statusstring
active | invited | disabled
directNumberstring | null
amdAmd
queuesobject[]Queue memberships (GET /users/{id} only).

Campaign

FieldTypeDescription
idstring (uuid)
namestring
objectstring
modestring
preview | progressive | predictive | ai | voicemail
ai: an AI agent (aiAgentId) talks instead of a human; dialRatio = concurrent AI calls. voicemail: leaves a voicemail message per lead (see voicemail); dialRatio = concurrent drops; calling hours 08:00-21:00 in each lead's time zone.
aiAgentIdstring | nullRequired with mode ai.
statusstring
draft | running | paused | completed
callerIdstring
callerIdProfileIdstring | null
maxAttemptsinteger
amdEnabledboolean
amdActionstring
hangup | message | connect
amdMessagestring
amdAmd
voicemailCampaignVoicemail

CampaignVoicemail

Delivery of mode voicemail. In requests send consentAttested: true (required to save and start a voicemail campaign) instead of consentAttestedAt.

FieldTypeDescription
methodstring
native | call | vendor
native = ringless from our dialer (carrier deposit flag or double dial); call = voicemail drop by call with AMD; vendor = an RVM vendor account.
messageIdstring | null (uuid)
humanActionstring
hangup | message | transfer
What happens when a person answers (native and call).
humanMessageIdstring | null (uuid)
queueIdstring | null (uuid)
accountIdstring | null (uuid)vendor method: your RVM account; null = the platform's shared account (opt in under Ringless voicemail → Vendors).
consentFieldstringAPI name of a CRM field that must be true on the record.
consentAttestedAtstring | null (date-time)

VoicemailMessage

FieldTypeDescription
idstring (uuid)
namestring
sourcestring
upload | tts
textstring
voicestring
durationSecnumber
sizeBytesinteger
audioUrlstring
createdAtstring (date-time)

VoicemailDrop

FieldTypeDescription
idstring (uuid)
phonestring
callerIdstring
methodstring
native | call | vendor | agent
techniquestring
| deposit | double_dial
providerstring
| dropcowboy | slybroadcast | voicedrop
platformbooleanSent through the platform's shared vendor account.
statusstring
queued | sent | delivered | machine_dropped | human_answered | no_answer | failed
errorstring
callUuidstring
campaignIdstring | null
leadIdstring | null
messageIdstring | null
priceUsdnumber
createdAtstring (date-time)
finishedAtstring | null (date-time)

Lead

FieldTypeDescription
idstring (uuid)
recordIdstring
phonestring
statusstring
pending | dialing | connected | completed | failed | dnc
attemptsinteger
lastResultstring

WebhookEndpoint

FieldTypeDescription
idstring (uuid)
urlstring (uri)
descriptionstring
eventsstring[]Event types, or ["*"] for every event.
activeboolean
lastSuccessAtstring | null (date-time)
lastFailureAtstring | null (date-time)
pendinginteger
failed24hinteger
createdAtstring (date-time)
updatedAtstring (date-time)

WebhookDelivery

FieldTypeDescription
idstring (uuid)
endpointIdstring
endpointUrlstring
msgIdstringThe webhook-id header value.
eventstring
statusstring
pending | delivered | failed
attemptsinteger
nextAttemptAtstring | null (date-time)
lastAttemptAtstring | null (date-time)
lastStatusinteger | null
lastErrorstring
deliveredAtstring | null (date-time)
createdAtstring (date-time)
payloadobjectDetail only.
attemptLogobject[]

WebhookEnvelope

FieldTypeDescription
type*string
timestamp*string (date-time)
tenantId*string (uuid)
data*object

SipCredentials

FieldTypeDescription
wsUristring
sipUristring
authUserstring
passwordstring
domainstring
displayNamestring
iceServersobject[]
API reference · LexoConnect