Skip to main content

Voicebot

Voicebot call batches, requests and campaign configuration.

Run a Voicebot batch

  1. Pick a calling profile and caller ID.

    GETList calling profiles

  2. Pick the Voicebot version and, to record, a consent policy.

    GETList Voicebots available to a campaignGETList recording consent policies

  3. Save and publish the campaign's configuration.

    PUTSave the Voicebot configurationPOSTPublish the Voicebot configuration

  4. Preview the batch, then submit it.

    POSTPreview a Voicebot call batchPOSTSubmit a Voicebot call batch

  5. Track requests and attempts.

    GETGet a Voicebot call batchGETList Voicebot call requestsGETGet a Voicebot call attempt

List calling profiles

GET/v1/tenants/{tenantSlug}/voicebot/calling-profiles

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.readPaging Not paged

Lists the calling profiles assigned to the workspace, with their caller IDs, concurrency limit and health. A Voicebot configuration names one profile and one of its caller IDs.

Responses

Every calling profile of the workspace, in one response.

  • itemsarray of objectrequired

    The records in this response, in the documented order.

  • nextCursorstring or nullrequired

    Always null: every calling profile comes in this one response.

Errors

  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"curl "$BASE/voicebot/calling-profiles" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "items": [    {      "id": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",      "displayName": "Pune outbound pool",      "status": "ACTIVE",      "healthStatus": "HEALTHY",      "concurrencyLimit": 20,      "callerIds": [        {          "id": "e6f7a8b9-c0d1-4e2f-9a3b-4c5d6e7f8091",          "displayName": "Pune office line",          "phoneNumber": "+918040001234",          "status": "ACTIVE"        }      ]    }  ],  "nextCursor": null}

Get Voicebot usage

GET/v1/tenants/{tenantSlug}/voicebot/calls/usage

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.read

Summarises Voicebot calling between two dates (inclusive, at most 90 days apart): attempts, connected calls, outcomes, talk and billable seconds. Filter by campaign, calling profile, caller number, Voicebot version or outcome. Returns 503 while usage reporting is unavailable.

Query parameters

  • endDatestring (date)required

    Last day of the period (YYYY-MM-DD), inclusive.

  • startDatestring (date)required

    First day of the period (YYYY-MM-DD).

  • botVersionIdstring (uuid)optional

    ID of the bot version.

  • callingProfileIdstring (uuid)optional

    ID of the calling profile.

  • campaignIdstring (uuid)optional

    ID of the campaign.

  • numberIdstring (uuid)optional

    ID of the number.

  • outcomestringoptional

    Outcome, from the values below.

    1–100 characters

Responses

Usage summary.

  • answeredCountintegerrequired

    Number of answered records.

    at least 0

  • attemptCountintegerrequired

    Number of attempt records.

    at least 0

  • billableSecondsintegerrequired

    Billable, in seconds.

    at least 0

  • callerNumbersarray of objectrequired

    Usage per caller number.

  • completedCountintegerrequired

    Number of completed records.

    at least 0

  • connectedCountintegerrequired

    Number of connected records.

    at least 0

  • failedCountintegerrequired

    Number of failed records.

    at least 0

  • outcomeCountsmap of integerrequired

    Number of calls per outcome.

  • quotaobject or nullrequired

    Plan allowance for the period; null when unlimited.

  • retryCountintegerrequired

    Number of retry records.

    at least 0

  • ringSecondsintegerrequired

    Ring, in seconds.

    at least 0

  • streamSecondsintegerrequired

    Stream, in seconds.

    at least 0

  • talkSecondsintegerrequired

    Talk, in seconds.

    at least 0

  • uncertainCountintegerrequired

    Number of uncertain records.

    at least 0

  • uniqueLeadCountintegerrequired

    Number of unique lead records.

    at least 0

  • windowEndstring (date)required

    End of the usage period (ISO 8601).

  • windowStartstring (date)required

    Start of the usage period (ISO 8601).

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 503 Service UnavailableA service this operation depends on is temporarily unavailable; retry with backoff.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"curl -G "$BASE/voicebot/calls/usage" \  --data-urlencode "endDate=2026-12-01" \  --data-urlencode "startDate=2026-12-01" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "answeredCount": 39,  "attemptCount": 2,  "billableSeconds": 184,  "callerNumbers": [    {      "answeredCount": 39,      "attemptCount": 2,      "display": "+91 80 4000 1234",      "telephonyNumberId": "2bfddced-7170-42c2-a3ca-c38aceda22c5"    }  ],  "completedCount": 40,  "connectedCount": 24,  "failedCount": 0,  "outcomeCounts": {    "INTERESTED": 1  },  "quota": {    "consumed": 1840,    "remaining": 3160  },  "retryCount": 0,  "ringSeconds": 184,  "streamSeconds": 184,  "talkSeconds": 152,  "uncertainCount": 22,  "uniqueLeadCount": 35,  "windowEnd": "2026-12-01",  "windowStart": "2026-12-01"}

List Voicebots available to a campaign

GET/v1/tenants/{tenantSlug}/campaigns/{campaignId}/available-voicebots

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.readPaging Not paged

Lists the active Voicebot versions built for the campaign's process. Use a version's versionId as voicebotProfileVersionId, and its language as the configuration's language.

Path parameters

  • campaignIdstring (uuid)required

    Campaign ID.

Responses

Every available Voicebot version, in one response.

  • itemsarray of objectrequired

    The records in this response, in the documented order.

  • nextCursorstring or nullrequired

    Pass as cursor to fetch the next page; null on the last page.

Errors

  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCAMPAIGN_NOT_FOUNDThe campaign does not exist or the key cannot see it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"CAMPAIGN_ID="2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f"curl "$BASE/campaigns/$CAMPAIGN_ID/available-voicebots" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "nextCursor": null,  "items": [    {      "displayName": "Rahul Mehta",      "id": "630132e3-7d1d-4516-b31f-a8d8b28a73f9",      "language": "en-IN",      "processId": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c7d",      "status": "ACTIVE",      "tenantId": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",      "version": 1,      "versionId": "0e455f90-a9e4-4960-b6a9-b7a9824286cd",      "versionLabel": "v3 · Solar pitch"    }  ]}

List recording consent policies

GET/v1/tenants/{tenantSlug}/campaigns/{campaignId}/available-consent-policies

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.readPaging Not paged

Lists the active recording consent policy versions for a language. Recording Voicebot calls requires one: set recordingEnabled: true and its version ID as recordingConsentPolicyVersionId; its language must match the configuration's.

Path parameters

  • campaignIdstring (uuid)required

    Campaign ID.

Query parameters

  • languagestringrequired

    Language, as an IETF tag such as en-IN or hi-IN.

    2–35 characters

Responses

Every active consent policy version, in one response.

  • itemsarray of objectrequired

    The records in this response, in the documented order.

  • nextCursornullrequired

    Pass as cursor to fetch the next page; null on the last page.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCAMPAIGN_NOT_FOUNDThe campaign does not exist or the key cannot see it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"CAMPAIGN_ID="2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f"curl -G "$BASE/campaigns/$CAMPAIGN_ID/available-consent-policies" \  --data-urlencode "language=en-IN" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "nextCursor": null,  "items": [    {      "approvedAt": "2026-12-01T10:00:00.000Z",      "approvedBy": "Priya Nair",      "approvedWording": "This call is recorded for quality and training.",      "createdAt": "2026-11-28T09:15:00.000Z",      "id": "3830aede-0ebe-45f0-ae22-41dfe53cbbe9",      "language": "en-IN",      "policyKey": "policy",      "retiredAt": "2026-12-01T10:00:00.000Z",      "sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",      "status": "ACTIVE",      "tenantId": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",      "version": 1    }  ]}

Get a campaign's Voicebot configuration

GET/v1/tenants/{tenantSlug}/campaigns/{campaignId}/voicebot-configuration

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.read

Returns the current draft and the latest published version number (publishedVersion, null if never published). Returns 404 until a draft has been saved. Voicebot settings follow a draft and publish lifecycle: Save the Voicebot configuration edits a draft, Publish the Voicebot configuration turns the draft into a new immutable version, and only published versions are used for calls.

Path parameters

  • campaignIdstring (uuid)required

    Campaign ID.

Responses

The campaign's Voicebot configuration draft, with the latest published version.

  • callingProfileIdstring (uuid)required

    ID of the calling profile.

  • callerIdIdstring (uuid)required

    ID of the caller ID.

  • callingWindowsarray of objectrequired

    When the voicebot may call: one entry per window.

  • campaignIdstring (uuid)required

    ID of the campaign.

  • languagestringrequired

    Language, as an IETF tag such as en-IN or hi-IN.

    2–35 characters

  • maxAttemptsintegerrequired

    Most call attempts per lead.

    1–5

  • outcomeMappingsobjectrequired

    Which lead stage or disposition each voicebot outcome maps to.

  • recordingConsentPolicyVersionIdstring (uuid) or nullrequired

    ID of the recording consent policy version; null if none.

  • recordingEnabledbooleanrequired

    Record voicebot calls.

  • retryBotFailureAfterAnswerbooleanrequired

    Retry a call when the bot failed after the customer answered.

  • publishedVersioninteger or nullrequired

    Published configuration version; null before the first publish.

  • retryDelaysMinutesarray of integerrequired

    Retry delays, in minutes.

    up to 4 items

  • revisionintegerrequired

    Revision number, increased on every change. Send it back as expectedRevision when you update.

    at least 0

  • timezonestringrequired

    IANA time zone, for example Asia/Kolkata.

    1–100 characters

  • updatedAtstring (date-time)required

    When it last changed (ISO 8601). Send it back as expectedUpdatedAt when you update.

  • voicebotProfileVersionIdstring (uuid)required

    ID of the voicebot profile version.

Errors

  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCAMPAIGN_NOT_FOUNDThe campaign does not exist or the key cannot see it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"CAMPAIGN_ID="2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f"curl "$BASE/campaigns/$CAMPAIGN_ID/voicebot-configuration" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "callingProfileId": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",  "callerIdId": "e6f7a8b9-c0d1-4e2f-9a3b-4c5d6e7f8091",  "callingWindows": [    {      "days": [        1,        2,        3,        4,        5      ],      "startsAt": "10:00",      "endsAt": "13:00"    },    {      "days": [        1,        2,        3,        4,        5      ],      "startsAt": "15:00",      "endsAt": "19:00"    },    {      "days": [        6      ],      "startsAt": "10:00",      "endsAt": "14:00"    }  ],  "language": "hi-IN",  "maxAttempts": 3,  "outcomeMappings": {    "CONNECTED_INTERESTED": "5d1f2e3a-9b8c-4d7e-a6f5-1c2b3a4d5e6f",    "CALLBACK_REQUESTED": "8c7b6a59-4d3e-4f2a-9b1c-0d9e8f7a6b5c",    "DO_NOT_CALL": null  },  "recordingConsentPolicyVersionId": "f7a8b9c0-d1e2-4f3a-8b4c-5d6e7f8091a2",  "recordingEnabled": true,  "retryBotFailureAfterAnswer": false,  "retryDelaysMinutes": [    60,    240  ],  "timezone": "Asia/Kolkata",  "voicebotProfileVersionId": "c9d0e1f2-a3b4-4c5d-8e6f-7a8b9c0d1e2f",  "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",  "publishedVersion": 2,  "revision": 3,  "updatedAt": "2026-12-01T10:05:00.000Z"}

Save the Voicebot configuration

PUT/v1/tenants/{tenantSlug}/campaigns/{campaignId}/voicebot-configuration

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.write

Creates or replaces the campaign's Voicebot draft. Voicebot settings follow a draft and publish lifecycle: Save the Voicebot configuration edits a draft, Publish the Voicebot configuration turns the draft into a new immutable version, and only published versions are used for calls.

Rules checked on save and again on publish (409 when they fail): the campaign's VOICEBOT module is enabled; the calling profile and caller ID are ready; the Voicebot version belongs to the campaign's process and speaks language; with recordingEnabled, the consent policy version is active and in the same language; outcome mappings point at active stages of the process.

Calling windows are local to timezone, use days 0 (Sunday) to 6 (Saturday) and may not overlap on the same day. retryDelaysMinutes has exactly maxAttempts - 1 entries.

Send the draft's current revision as expectedRevision (omit it, or send 0, for the first save); a stale revision returns 409.

Path parameters

  • campaignIdstring (uuid)required

    Campaign ID.

Request body (application/json)

  • callingProfileIdstring (uuid)required

    ID of the calling profile.

  • callerIdIdstring (uuid)required

    ID of the caller ID.

  • callingWindowsarray of objectrequired

    When the voicebot may call: one entry per window.

    up to 14 items

  • expectedRevisionintegeroptional

    The revision from your last read. If the record changed since, the request fails with 409 and nothing is saved.

    at least 0

    One of two concurrency tokens. Conventions

  • languagestringrequired

    Language, as an IETF tag such as en-IN or hi-IN.

    2–35 characters

  • maxAttemptsintegerrequired

    Most call attempts per lead.

    1–5

  • outcomeMappingsobjectrequired

    Which lead stage or disposition each voicebot outcome maps to.

  • recordingConsentPolicyVersionIdstring (uuid) or nulloptional

    ID of the recording consent policy version; null if none.

  • recordingEnabledbooleanoptional

    Record voicebot calls.

    default false

  • retryBotFailureAfterAnswerbooleanoptional

    Retry a call when the bot failed after the customer answered.

    default false

  • retryDelaysMinutesarray of integerrequired

    Retry delays, in minutes.

    up to 4 items

  • timezonestringrequired

    IANA time zone, for example Asia/Kolkata.

    1–100 characters

  • voicebotProfileVersionIdstring (uuid)required

    ID of the voicebot profile version.

Responses

The saved draft.

  • callingProfileIdstring (uuid)required

    ID of the calling profile.

  • callerIdIdstring (uuid)required

    ID of the caller ID.

  • callingWindowsarray of objectrequired

    When the voicebot may call: one entry per window.

  • campaignIdstring (uuid)required

    ID of the campaign.

  • languagestringrequired

    Language, as an IETF tag such as en-IN or hi-IN.

    2–35 characters

  • maxAttemptsintegerrequired

    Most call attempts per lead.

    1–5

  • outcomeMappingsobjectrequired

    Which lead stage or disposition each voicebot outcome maps to.

  • recordingConsentPolicyVersionIdstring (uuid) or nullrequired

    ID of the recording consent policy version; null if none.

  • recordingEnabledbooleanrequired

    Record voicebot calls.

  • retryBotFailureAfterAnswerbooleanrequired

    Retry a call when the bot failed after the customer answered.

  • publishedVersioninteger or nullrequired

    Published configuration version; null before the first publish.

  • retryDelaysMinutesarray of integerrequired

    Retry delays, in minutes.

    up to 4 items

  • revisionintegerrequired

    Revision number, increased on every change. Send it back as expectedRevision when you update.

    at least 0

  • timezonestringrequired

    IANA time zone, for example Asia/Kolkata.

    1–100 characters

  • updatedAtstring (date-time)required

    When it last changed (ISO 8601). Send it back as expectedUpdatedAt when you update.

  • voicebotProfileVersionIdstring (uuid)required

    ID of the voicebot profile version.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.write scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCAMPAIGN_NOT_FOUNDThe campaign does not exist or the key cannot see it.
  • 409 ConflictVOICEBOT_CONFIGURATION_STALEThe draft changed after you read it; read it again and resend.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"CAMPAIGN_ID="2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f"curl -X PUT "$BASE/campaigns/$CAMPAIGN_ID/voicebot-configuration" \  -H "Authorization: Bearer $LMS_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "callingProfileId": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",    "callerIdId": "e6f7a8b9-c0d1-4e2f-9a3b-4c5d6e7f8091",    "callingWindows": [      {        "days": [          1,          2,          3,          4,          5        ],        "startsAt": "10:00",        "endsAt": "13:00"      },      {        "days": [          1,          2,          3,          4,          5        ],        "startsAt": "15:00",        "endsAt": "19:00"      },      {        "days": [          6        ],        "startsAt": "10:00",        "endsAt": "14:00"      }    ],    "language": "hi-IN",    "maxAttempts": 3,    "outcomeMappings": {      "CONNECTED_INTERESTED": "5d1f2e3a-9b8c-4d7e-a6f5-1c2b3a4d5e6f",      "CALLBACK_REQUESTED": "8c7b6a59-4d3e-4f2a-9b1c-0d9e8f7a6b5c",      "DO_NOT_CALL": null    },    "recordingConsentPolicyVersionId": "f7a8b9c0-d1e2-4f3a-8b4c-5d6e7f8091a2",    "recordingEnabled": true,    "retryBotFailureAfterAnswer": false,    "retryDelaysMinutes": [      60,      240    ],    "timezone": "Asia/Kolkata",    "voicebotProfileVersionId": "c9d0e1f2-a3b4-4c5d-8e6f-7a8b9c0d1e2f",    "expectedRevision": 2  }'
Example response (200 OK) (200 OK)
{  "callingProfileId": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",  "callerIdId": "e6f7a8b9-c0d1-4e2f-9a3b-4c5d6e7f8091",  "callingWindows": [    {      "days": [        1,        2,        3,        4,        5      ],      "startsAt": "10:00",      "endsAt": "13:00"    },    {      "days": [        1,        2,        3,        4,        5      ],      "startsAt": "15:00",      "endsAt": "19:00"    },    {      "days": [        6      ],      "startsAt": "10:00",      "endsAt": "14:00"    }  ],  "language": "hi-IN",  "maxAttempts": 3,  "outcomeMappings": {    "CONNECTED_INTERESTED": "5d1f2e3a-9b8c-4d7e-a6f5-1c2b3a4d5e6f",    "CALLBACK_REQUESTED": "8c7b6a59-4d3e-4f2a-9b1c-0d9e8f7a6b5c",    "DO_NOT_CALL": null  },  "recordingConsentPolicyVersionId": "f7a8b9c0-d1e2-4f3a-8b4c-5d6e7f8091a2",  "recordingEnabled": true,  "retryBotFailureAfterAnswer": false,  "retryDelaysMinutes": [    60,    240  ],  "timezone": "Asia/Kolkata",  "voicebotProfileVersionId": "c9d0e1f2-a3b4-4c5d-8e6f-7a8b9c0d1e2f",  "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",  "publishedVersion": 2,  "revision": 3,  "updatedAt": "2026-12-01T10:05:00.000Z"}

Publish the Voicebot configuration

POST/v1/tenants/{tenantSlug}/campaigns/{campaignId}/voicebot-configuration/publish

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.write

Publishes the current draft as the campaign's next configuration version. New call batches use it; requests already queued keep the version they were created with. Send the draft's revision as expectedRevision so you publish exactly what you reviewed; a stale revision, or a draft that no longer passes the save rules, returns 409.

Path parameters

  • campaignIdstring (uuid)required

    Campaign ID.

Request body (application/json)

  • expectedRevisionintegerrequired

    The revision from your last read. If the record changed since, the request fails with 409 and nothing is saved.

    at least 0

    One of two concurrency tokens. Conventions

Responses

The configuration with the new publishedVersion.

  • callingProfileIdstring (uuid)required

    ID of the calling profile.

  • callerIdIdstring (uuid)required

    ID of the caller ID.

  • callingWindowsarray of objectrequired

    When the voicebot may call: one entry per window.

  • campaignIdstring (uuid)required

    ID of the campaign.

  • languagestringrequired

    Language, as an IETF tag such as en-IN or hi-IN.

    2–35 characters

  • maxAttemptsintegerrequired

    Most call attempts per lead.

    1–5

  • outcomeMappingsobjectrequired

    Which lead stage or disposition each voicebot outcome maps to.

  • recordingConsentPolicyVersionIdstring (uuid) or nullrequired

    ID of the recording consent policy version; null if none.

  • recordingEnabledbooleanrequired

    Record voicebot calls.

  • retryBotFailureAfterAnswerbooleanrequired

    Retry a call when the bot failed after the customer answered.

  • publishedVersioninteger or nullrequired

    Published configuration version; null before the first publish.

  • retryDelaysMinutesarray of integerrequired

    Retry delays, in minutes.

    up to 4 items

  • revisionintegerrequired

    Revision number, increased on every change. Send it back as expectedRevision when you update.

    at least 0

  • timezonestringrequired

    IANA time zone, for example Asia/Kolkata.

    1–100 characters

  • updatedAtstring (date-time)required

    When it last changed (ISO 8601). Send it back as expectedUpdatedAt when you update.

  • voicebotProfileVersionIdstring (uuid)required

    ID of the voicebot profile version.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.write scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCAMPAIGN_NOT_FOUNDThe campaign does not exist or the key cannot see it.
  • 409 ConflictVOICEBOT_CONFIGURATION_STALEThe draft changed after you read it; read it again and resend.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"CAMPAIGN_ID="2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f"curl -X POST \  "$BASE/campaigns/$CAMPAIGN_ID/voicebot-configuration/publish" \  -H "Authorization: Bearer $LMS_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "expectedRevision": 3  }'
Example response (200 OK) (200 OK)
{  "callingProfileId": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",  "callerIdId": "e6f7a8b9-c0d1-4e2f-9a3b-4c5d6e7f8091",  "callingWindows": [    {      "days": [        1,        2,        3,        4,        5      ],      "startsAt": "10:00",      "endsAt": "13:00"    },    {      "days": [        1,        2,        3,        4,        5      ],      "startsAt": "15:00",      "endsAt": "19:00"    },    {      "days": [        6      ],      "startsAt": "10:00",      "endsAt": "14:00"    }  ],  "language": "hi-IN",  "maxAttempts": 3,  "outcomeMappings": {    "CONNECTED_INTERESTED": "5d1f2e3a-9b8c-4d7e-a6f5-1c2b3a4d5e6f",    "CALLBACK_REQUESTED": "8c7b6a59-4d3e-4f2a-9b1c-0d9e8f7a6b5c",    "DO_NOT_CALL": null  },  "recordingConsentPolicyVersionId": "f7a8b9c0-d1e2-4f3a-8b4c-5d6e7f8091a2",  "recordingEnabled": true,  "retryBotFailureAfterAnswer": false,  "retryDelaysMinutes": [    60,    240  ],  "timezone": "Asia/Kolkata",  "voicebotProfileVersionId": "c9d0e1f2-a3b4-4c5d-8e6f-7a8b9c0d1e2f",  "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",  "publishedVersion": 2,  "revision": 3,  "updatedAt": "2026-12-01T10:05:00.000Z"}

Preview a Voicebot call batch

POST/v1/tenants/{tenantSlug}/voicebot/calls/batches/preview

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.write

Checks which leads a batch would call, without creating anything. Leads are excluded when they are not in the campaign, the campaign has no ready published Voicebot configuration, the lead has no valid phone number, the number is suppressed, or the lead already has an active call request. Preview before Submit a Voicebot call batch and show the exclusions to the user.

Request body (application/json)

  • campaignIdstring (uuid)required

    ID of the campaign.

  • leadIdsarray of string (uuid)required

    IDs of the lead records.

    up to 500 items

Responses

Eligible leads and exclusions.

  • eligibleLeadIdsarray of string (uuid)required

    IDs of the eligible lead records.

    up to 500 items

  • exclusionsarray of objectrequired

    Leads left out, with the reason for each.

    up to 500 items

  • requestedCountintegerrequired

    Number of requested records.

    1–500

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.write scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"curl -X POST "$BASE/voicebot/calls/batches/preview" \  -H "Authorization: Bearer $LMS_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",    "leadIds": [      "0b6c7a52-4f0e-4c1a-9d43-3f2a7c1e9b10",      "6d7e8f90-1a2b-4c3d-8e4f-5a6b7c8d9e0f",      "7e8f9a0b-2c3d-4e5f-9a6b-7c8d9e0f1a2b"    ]  }'
Example response (200 OK) (200 OK)
{  "eligibleLeadIds": [    "0b6c7a52-4f0e-4c1a-9d43-3f2a7c1e9b10",    "6d7e8f90-1a2b-4c3d-8e4f-5a6b7c8d9e0f"  ],  "exclusions": [    {      "leadId": "7e8f9a0b-2c3d-4e5f-9a6b-7c8d9e0f1a2b",      "reason": "ACTIVE_REQUEST_EXISTS"    }  ],  "requestedCount": 3}

Submit a Voicebot call batch

POST/v1/tenants/{tenantSlug}/voicebot/calls/batches

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.write

Queues Voicebot calls for up to 500 unique leads of one campaign, using the campaign's latest published Voicebot configuration. Eligibility is checked again at submission (see Preview a Voicebot call batch); ineligible leads are listed in exclusions and the rest get one call request each, dialled within the configuration's calling windows and retried per its retry rules.

The batch is accepted even when every lead is excluded (acceptedCount: 0). Resubmitting the same leads does not call them twice: leads with an active request are excluded. An unknown campaign returns 404; if eligibility changes while the batch is being created the request fails with 409 and can be retried.

Request body (application/json)

  • campaignIdstring (uuid)required

    ID of the campaign.

  • leadIdsarray of string (uuid)required

    IDs of the lead records.

    up to 500 items

Responses

The batch.

Headers

  • Location URL of the new batch.
  • acceptedCountintegerrequired

    Number of accepted records.

    at least 0

  • campaignIdstring (uuid)required

    ID of the campaign.

  • createdAtstring (date-time)required

    When it was created (ISO 8601).

  • createdBystring (uuid)required

    User ID of the member who created it.

  • exclusionsarray of objectrequired

    Leads left out, with the reason for each.

  • idstring (uuid)required

    ID of the call batch.

  • requestedCountintegerrequired

    Number of requested records.

  • statusenumrequired

    Current status of the call batch.

    One ofCREATEDPROCESSINGCOMPLETEDCANCELLED

  • tenantIdstring (uuid)required

    ID of the workspace.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.write scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundThe record does not exist or the key cannot see it.
  • 409 ConflictCALL_BATCH_ELIGIBILITY_STALELead eligibility changed since the preview; preview again.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"curl -X POST "$BASE/voicebot/calls/batches" \  -H "Authorization: Bearer $LMS_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",    "leadIds": [      "0b6c7a52-4f0e-4c1a-9d43-3f2a7c1e9b10",      "6d7e8f90-1a2b-4c3d-8e4f-5a6b7c8d9e0f",      "7e8f9a0b-2c3d-4e5f-9a6b-7c8d9e0f1a2b"    ]  }'
Example response (201 Created) (201 Created)
{  "acceptedCount": 2,  "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",  "createdAt": "2026-12-01T10:00:00.000Z",  "createdBy": "9e8d7c6b-5a49-4382-8170-6f5e4d3c2b1a",  "exclusions": [    {      "leadId": "7e8f9a0b-2c3d-4e5f-9a6b-7c8d9e0f1a2b",      "reason": "ACTIVE_REQUEST_EXISTS"    }  ],  "id": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",  "requestedCount": 3,  "status": "CREATED",  "tenantId": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"}

Get a Voicebot call batch

GET/v1/tenants/{tenantSlug}/voicebot/calls/batches/{batchId}

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.read

Path parameters

  • batchIdstring (uuid)required

    Batch ID.

Responses

The batch.

  • acceptedCountintegerrequired

    Number of accepted records.

    at least 0

  • campaignIdstring (uuid)required

    ID of the campaign.

  • createdAtstring (date-time)required

    When it was created (ISO 8601).

  • createdBystring (uuid)required

    User ID of the member who created it.

  • exclusionsarray of objectrequired

    Leads left out, with the reason for each.

  • idstring (uuid)required

    ID of the call batch.

  • requestedCountintegerrequired

    Number of requested records.

  • statusenumrequired

    Current status of the call batch.

    One ofCREATEDPROCESSINGCOMPLETEDCANCELLED

  • tenantIdstring (uuid)required

    ID of the workspace.

Errors

  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundBATCH_NOT_FOUNDThe batch does not exist or the key cannot see it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"BATCH_ID="b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"curl "$BASE/voicebot/calls/batches/$BATCH_ID" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "acceptedCount": 2,  "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",  "createdAt": "2026-12-01T10:00:00.000Z",  "createdBy": "9e8d7c6b-5a49-4382-8170-6f5e4d3c2b1a",  "exclusions": [    {      "leadId": "7e8f9a0b-2c3d-4e5f-9a6b-7c8d9e0f1a2b",      "reason": "ACTIVE_REQUEST_EXISTS"    }  ],  "id": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",  "requestedCount": 3,  "status": "CREATED",  "tenantId": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"}

List Voicebot call requests

GET/v1/tenants/{tenantSlug}/voicebot/calls/requests

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.readPaging cursor (items, nextCursor)

Lists call requests (one per lead per batch), optionally filtered by campaign and status. A request moves from QUEUED through IN_PROGRESS to a final status such as COMPLETED, EXHAUSTED (attempts used up), SUPPRESSED, CANCELLED or FAILED. Paged with an opaque cursor: pass nextCursor back as cursor until it is null.

Query parameters

  • campaignIdstring (uuid)optional

    ID of the campaign.

  • statusenumoptional

    Current status of the voicebot call request.

    QUEUED
    Accepted; waiting to be dialled.
    WAITING_FOR_WINDOW
    Outside the campaign's calling hours.
    WAITING_FOR_CAPACITY
    All lines of the calling profile are busy.
    IN_PROGRESS
    A call attempt is under way.
    COMPLETED
    Finished with an outcome.
    EXHAUSTED
    Every allowed attempt was used without an outcome.
    SUPPRESSED
    Not called: the number is on a do-not-call list.
    CANCELLED
    Cancelled before it finished.
    FAILED
    Could not be completed because of an error.
  • cursorstring (uuid)optional

    nextCursor from the previous page.

  • limitintegeroptional

    Maximum number of records to return in one page.

    1–100 · default 50

Responses

One page of call requests.

  • itemsarray of objectrequired

    The records in this response, in the documented order.

  • nextCursorstring or nullrequired

    Pass as cursor to fetch the next page; null on the last page.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"curl -G "$BASE/voicebot/calls/requests" \  --data-urlencode "limit=50" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "nextCursor": "eyJpZCI6IjBiNmM3YTUyIiwidCI6MTc5NjgxODQwMH0",  "items": [    {      "attemptsUsed": 1,      "batchId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",      "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",      "configurationVersionId": "573b3cc4-8c17-4d0a-a90b-1c8145b37d01",      "createdAt": "2026-11-28T09:15:00.000Z",      "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",      "latestAttemptId": "697b5274-3aac-48f0-9b3b-20ddb6908115",      "leadId": "0b6c7a52-4f0e-4c1a-9d43-3f2a7c1e9b10",      "maxAttempts": 3,      "nextEligibleAt": "2026-12-01T10:00:00.000Z",      "status": "QUEUED",      "terminalReason": null,      "updatedAt": "2026-12-01T10:00:00.000Z"    }  ]}

Cancel a Voicebot call request

POST/v1/tenants/{tenantSlug}/voicebot/calls/requests/{requestId}/cancel

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.write

Stops further attempts for a call request and records why. A call already in progress is asked to end. Requests that have already finished cannot be cancelled (409).

Path parameters

  • requestIdstring (uuid)required

    Call request ID.

Request body (application/json)

  • reasonstringrequired

    Why you are cancelling (3–500 characters); kept in the audit trail.

    3–500 characters

Responses

The cancelled request.

  • attemptsUsedintegerrequired

    Attempts made so far.

    at least 0

  • batchIdstring (uuid)required

    ID of the batch.

  • campaignIdstring (uuid)required

    ID of the campaign.

  • configurationVersionIdstring (uuid)required

    ID of the configuration version.

  • createdAtstring (date-time)required

    When it was created (ISO 8601).

  • idstring (uuid)required

    ID of the call.

  • latestAttemptIdstring (uuid) or nullrequired

    ID of the latest attempt; null if none.

  • leadIdstring (uuid)required

    ID of the lead.

  • maxAttemptsintegerrequired

    Most call attempts per lead.

    1–5

  • nextEligibleAtstring (date-time) or nullrequired

    Next eligible time (ISO 8601); null if not yet.

  • statusenumrequired

    Current status of the call.

    QUEUED
    Accepted; waiting to be dialled.
    WAITING_FOR_WINDOW
    Outside the campaign's calling hours.
    WAITING_FOR_CAPACITY
    All lines of the calling profile are busy.
    IN_PROGRESS
    A call attempt is under way.
    COMPLETED
    Finished with an outcome.
    EXHAUSTED
    Every allowed attempt was used without an outcome.
    SUPPRESSED
    Not called: the number is on a do-not-call list.
    CANCELLED
    Cancelled before it finished.
    FAILED
    Could not be completed because of an error.
  • terminalReasonstring or nullrequired

    Why the request stopped for good; null while it can still be retried.

    1–200 characters

  • updatedAtstring (date-time)required

    When it last changed (ISO 8601). Send it back as expectedUpdatedAt when you update.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.write scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundThe record does not exist or the key cannot see it.
  • 409 ConflictThe change conflicts with the record's current state or a workflow rule; error.code names it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"REQUEST_ID="c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f"curl -X POST "$BASE/voicebot/calls/requests/$REQUEST_ID/cancel" \  -H "Authorization: Bearer $LMS_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "reason": "Customer asked not to be called by the Voicebot."  }'
Example response (200 OK) (200 OK)
{  "attemptsUsed": 1,  "batchId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",  "campaignId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",  "configurationVersionId": "573b3cc4-8c17-4d0a-a90b-1c8145b37d01",  "createdAt": "2026-11-28T09:15:00.000Z",  "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",  "latestAttemptId": "697b5274-3aac-48f0-9b3b-20ddb6908115",  "leadId": "0b6c7a52-4f0e-4c1a-9d43-3f2a7c1e9b10",  "maxAttempts": 3,  "nextEligibleAt": "2026-12-01T10:00:00.000Z",  "status": "QUEUED",  "terminalReason": null,  "updatedAt": "2026-12-01T10:00:00.000Z"}

Get a Voicebot call attempt

GET/v1/tenants/{tenantSlug}/voicebot/calls/attempts/{attemptId}

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.read

Returns one dial attempt: telephony timings, talk and billable seconds, the Voicebot outcome, the event timeline, recordings and transcripts (media) and any open exceptions. The destination number is masked.

Path parameters

  • attemptIdstring (uuid)required

    Call attempt ID.

Responses

The attempt.

  • answeredAtstring (date-time) or nullrequired

    When the call was answered; null if never.

  • attemptNumberintegerrequired

    1 for the first try, then 2, 3… for retries.

  • billableSecondsinteger or nullrequired

    Seconds the carrier bills for; null until known.

    at least 0

  • callRequestIdstring (uuid)required

    Call request this attempt belongs to.

  • callerNumberstringrequired

    Caller ID used.

    3–32 characters

  • completedAtstring (date-time) or nullrequired

    When it was completed (ISO 8601); null if not yet.

  • createdAtstring (date-time)required

    When it was created (ISO 8601).

  • destinationMaskedstringrequired

    Number dialled, partly masked.

    3–32 characters

  • exceptionsarray of objectrequired

    Problems recorded for the attempt that need attention.

  • externalCallIdstring or nullrequired

    Telephony provider's call ID.

    1–500 characters

  • failureCodestring or nullrequired

    Machine-readable reason the attempt failed; null unless it failed.

    1–200 characters

  • finalOutcomeenum or nullrequired

    Voicebot outcome of the conversation; null until known.

    CONNECTED_INTERESTED
    Spoke; the customer is interested.
    CONNECTED_NOT_INTERESTED
    Spoke; the customer is not interested.
    CALLBACK_REQUESTED
    The customer asked to be called back.
    NO_ANSWER
    Rang out without an answer.
    BUSY
    The line was busy.
    INVALID_NUMBER
    The number is not valid.
    DO_NOT_CALL
    The customer asked not to be called again.
    BOT_FAILED
    The voicebot could not complete the call.
  • idstring (uuid)required

    ID of the call attempt.

  • interactionIdstring (uuid)required

    Conversation the attempt belongs to.

  • mediaarray of objectrequired

    Recordings and other media of the attempt.

    up to 20 items

  • providerEndedAtstring (date-time) or nullrequired

    When the carrier reported the end of the call.

  • providerHangupCausestring or nullrequired

    Carrier's hang-up cause, for example NORMAL_CLEARING.

    1–200 characters

  • ringingAtstring (date-time) or nullrequired

    When the phone started ringing.

  • statusenumrequired

    Current status of the attempt.

    PLACING
    Being placed with telephony.
    RINGING
    The customer's phone is ringing.
    ANSWERED
    The call was answered.
    STREAMING
    The voicebot is talking to the customer.
    COMPLETED
    Ended normally.
    FAILED
    Could not be placed or dropped with an error.
    CANCELLED
    Stopped before it connected.
    UNCERTAIN
    Telephony did not report how it ended; being reconciled.
  • streamStartedAtstring (date-time) or nullrequired

    When the voicebot audio stream started.

  • talkSecondsinteger or nullrequired

    Seconds after answer; null until known.

    at least 0

  • timelinearray of objectrequired

    Every event of the attempt, oldest first.

    up to 1000 items

Errors

  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCALL_ATTEMPT_NOT_FOUNDThe call attempt does not exist or the key cannot see it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"ATTEMPT_ID="7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d"curl "$BASE/voicebot/calls/attempts/$ATTEMPT_ID" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "answeredAt": "2026-12-01T09:42:18.000Z",  "attemptNumber": 1,  "billableSeconds": 184,  "callRequestId": "2ff05521-2694-498a-8ea3-5f0ac1c3651d",  "callerNumber": "+918040001234",  "completedAt": "2026-12-01T09:45:22.000Z",  "createdAt": "2026-11-28T09:15:00.000Z",  "destinationMasked": "+91 98••• ••678",  "exceptions": [    {      "attemptId": "7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d",      "category": "CALLBACK_AUTH",      "code": "PROVIDER_END_MISSING",      "firstObservedAt": "2026-12-01T10:00:00.000Z",      "id": "31a9503c-7390-4fcc-a8fd-3f555b431b05",      "lastObservedAt": "2026-12-01T10:00:00.000Z",      "occurrenceCount": 3,      "safeDetail": {        "provider": "META"      },      "status": "OPEN"    }  ],  "externalCallId": "c0ffee00-1234-4abc-8def-0123456789ab",  "failureCode": null,  "finalOutcome": "CONNECTED_INTERESTED",  "id": "2d6eb688-e986-42c0-b170-a82111f4f65d",  "interactionId": "1395446c-b51d-4370-ae98-facd13f5e46d",  "media": [    {      "attemptId": "7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d",      "available": false,      "byteLength": 1,      "contentType": "audio/mpeg",      "createdAt": "2026-11-28T09:15:00.000Z",      "deletedAt": "2026-12-01T10:00:00.000Z",      "deletionReason": null,      "expiresAt": "2026-12-31T23:59:59.000Z",      "id": "6e586cd1-6eb7-494a-bd21-fc169f38ae85",      "integrityStatus": "PENDING",      "kind": "CALL_RECORDING",      "sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",      "source": "PLIVO",      "status": "PENDING_UPLOAD",      "validatedAt": "2026-12-01T10:00:00.000Z"    }  ],  "providerEndedAt": "2026-12-01T10:00:00.000Z",  "providerHangupCause": "NORMAL_CLEARING",  "ringingAt": "2026-12-01T10:00:00.000Z",  "status": "PLACING",  "streamStartedAt": "2026-12-01T10:00:00.000Z",  "talkSeconds": 152,  "timeline": [    {      "id": "f2a8565c-6a0b-4dfa-bb15-9399607d8219",      "occurredAt": "2026-12-01T09:45:22.000Z",      "recordedAt": "2026-12-01T10:00:00.000Z",      "safeDetail": {        "provider": "META"      },      "source": "SYSTEM",      "type": "ANSWERED"    }  ]}

Reconcile a Voicebot call attempt

POST/v1/tenants/{tenantSlug}/voicebot/calls/attempts/{attemptId}/reconcile

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.write

Asks LMS to re-check an attempt's final state with the telephony provider and the Voicebot, for example when an attempt is stuck or its outcome is missing. Reconciliation runs in the background; read the attempt again later.

Path parameters

  • attemptIdstring (uuid)required

    Call attempt ID.

Responses

Reconciliation was queued.

  • acceptedalways truerequired

    Always true: the request was accepted.

  • attemptIdstring (uuid)required

    ID of the attempt.

Errors

  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.write scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.
  • 404 Not FoundCALL_ATTEMPT_NOT_FOUNDThe call attempt does not exist or the key cannot see it.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"ATTEMPT_ID="7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d"curl -X POST "$BASE/voicebot/calls/attempts/$ATTEMPT_ID/reconcile" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (202 Accepted) (202 Accepted)
{  "accepted": true,  "attemptId": "7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d"}

List Voicebot call exceptions

GET/v1/tenants/{tenantSlug}/voicebot/calls/exceptions

{tenantSlug} is your workspace slug, the first part of your LMS web address.

Scope voicebot.readPaging Not paged

Lists operational problems detected on Voicebot calls (missing outcomes, conflicting callbacks, stuck reservations, recording or transcript issues), most recently observed first. Returns up to limit items; nextCursor is always null, so narrow with category and status instead of paging.

Query parameters

  • categoryenumoptional

    Category, from the values below.

    CALLBACK_AUTH
    A telephony callback failed its signature check.
    CALLBACK_CONFLICT
    Two callbacks disagree about the same call.
    OUTCOME_CONFLICT
    The voicebot and telephony reported different outcomes.
    MISSING_PROVIDER_END
    Telephony never reported that the call ended.
    MISSING_VOICEBOT_OUTCOME
    The call ended without a voicebot outcome.
    STUCK_RESERVATION
    A line was reserved and never released.
    RECONCILIATION
    The call is being matched against telephony records.
    MEDIA_RECORDING
    The recording is missing or unreadable.
    MEDIA_INGESTION
    The recording or transcript could not be stored.
    MEDIA_RETENTION
    Stored media could not be deleted on schedule.
    DLQ
    A message failed repeatedly and was set aside.
  • statusenumoptional

    Current status of the voicebot call exception.

    One ofOPENRESOLVEDIGNORED

  • limitintegeroptional

    Maximum number of records to return in one page.

    1–100 · default 50

Responses

Up to limit exceptions, in one response.

  • itemsarray of objectrequired

    The records in this response, in the documented order.

  • nextCursorstring or nullrequired

    Always null: this list is not paged. Narrow it with the category and status filters instead.

Errors

  • 400 Bad RequestVALIDATION_ERRORA parameter, header or body field is invalid; compare the request with the fields above (Validation errors).
  • 403 ForbiddenPARTNER_OPERATION_FORBIDDENThe key lacks the voicebot.read scope.
  • 403 ForbiddenPERMISSION_DENIEDThe key's acting member lacks the permission or data access.

Also, like every operation: 401 invalid key, 429 rate limited and 500 unexpected error. Errors and retries

Request
BASE="https://lms.iotindia.ai/v1/tenants/your-workspace"curl -G "$BASE/voicebot/calls/exceptions" \  --data-urlencode "limit=50" \  -H "Authorization: Bearer $LMS_API_KEY"
Example response (200 OK) (200 OK)
{  "items": [    {      "id": "e0f1a2b3-c4d5-4e6f-9a7b-8c9d0e1f2a3b",      "attemptId": "7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d",      "category": "MISSING_PROVIDER_END",      "code": "PROVIDER_END_MISSING",      "firstObservedAt": "2026-12-01T09:50:00.000Z",      "lastObservedAt": "2026-12-01T10:20:00.000Z",      "occurrenceCount": 3,      "safeDetail": {        "provider": "plivo",        "waitedMinutes": 30      },      "status": "OPEN"    }  ],  "nextCursor": null}
    Voicebot API · IoTIndia developers