> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendora.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Moving to the consolidated API

> Where every earlier endpoint went: the merged endpoint that replaces it, and what you send to it.

In October 2026 the public API reference was consolidated from 162 operations in 19 sections to 61 in 7. Related actions were merged into one endpoint, and settings that belong to a thing became fields on its update call.

## Nothing breaks

Every earlier path keeps working exactly as before. They are no longer listed in the reference and are marked deprecated, but they accept the same requests and return the same responses. You do not have to change an integration to keep it running. Move to the merged endpoints when you next touch the code.

## What changed in how you call the API

* **List and get are one call.** `GET /leads` lists leads; pass `id` for one lead with everything attached to it. The same goes for lead lists, campaigns, agents, knowledge bases, tools, widgets, calls, webhook endpoints, jobs and conversations.
* **Settings are fields on the update call.** A lead's tags, stage and traffic light are on `PATCH /leads/{lead_id}`. A campaign's status and enrolled leads are on `PATCH /campaigns/{campaign_id}`. An agent's channels, inbound settings, knowledge bases, tools and publish state are on `PATCH /agents/{agent_id}`.
* **One call can run several steps.** Steps run in a fixed order. If one fails, the steps before it stay applied and the error lists them under `applied`. Read the resource before you repeat the call.
* **Some paths are new.** Voice agents are `/agents`, calls are `/calls`, widgets are `/widgets`, and messages are `POST /messages`.

## Where each earlier endpoint went

Find the request you use today in the left column. The right column is the merged endpoint; the guide for each area shows the exact fields.

### Leads

| Earlier request | Now |
| - | - |
| `GET /lead-lists/{list_id}/leads` | `GET /leads` |
| `GET /campaigns/{campaign_id}/leads` | `GET /leads` |
| `GET /leads/{lead_id}` | `GET /leads` |
| `GET /leads/{lead_id}/tags` | `GET /leads` |
| `GET /leads/{lead_id}/activities` | `GET /leads` |
| `POST /lead-lists/{list_id}/leads` | `POST /leads` |
| `POST /leads/imports` | `POST /leads` |
| `POST /lead-lists/{list_id}/prospect-search/preview/{preview_id}/commit` | `POST /leads` |
| `POST /lead-lists/{list_id}/google-maps/preview/{preview_id}/commit` | `POST /leads` |
| `PATCH /leads/{lead_id}/pipeline-stage` | `PATCH /leads/{lead_id}` |
| `POST /leads/{lead_id}/tags` | `PATCH /leads/{lead_id}` |
| `DELETE /leads/{lead_id}/tags/{tag}` | `PATCH /leads/{lead_id}` |
| `PATCH /conversations/{lead_id}/traffic-light` | `PATCH /leads/{lead_id}` |
| `POST /leads/{lead_id}/enrich` | `POST /leads/enrich` |
| `POST /lead-lists/{list_id}/enrich` | `POST /leads/enrich` |
| `POST /leads/verify-emails` | `POST /leads/enrich` |
| `POST /leads/{lead_id}/web-research` | `POST /leads/enrich` |
| `GET /lead-lists/{list_id}` | `GET /lead-lists` |
| `POST /lead-lists/{list_id}/prospect-search/parse-criteria` | `POST /searches` |
| `POST /lead-lists/{list_id}/prospect-search/preview` | `POST /searches` |
| `POST /lead-lists/{list_id}/prospect-search/employee-preview` | `POST /searches` |
| `POST /lead-lists/{list_id}/google-maps/preview` | `POST /searches` |
| `GET /lead-lists/{list_id}/prospect-search/preview/{preview_id}` | `GET /searches/{search_id}` |
| `GET /lead-lists/{list_id}/google-maps/preview/{preview_id}` | `GET /searches/{search_id}` |

### Campaigns

| Earlier request | Now |
| - | - |
| `GET /campaigns/{campaign_id}` | `GET /campaigns` |
| `GET /campaign-folders` | `GET /campaigns` |
| `POST /campaigns/{campaign_id}/preflight` | `GET /campaigns` |
| `POST /campaigns/{campaign_id}/clone` | `POST /campaigns` |
| `PATCH /campaigns/{campaign_id}/workflow` | `PATCH /campaigns/{campaign_id}` |
| `POST /campaigns/{campaign_id}/launch` | `PATCH /campaigns/{campaign_id}` |
| `POST /campaigns/{campaign_id}/pause` | `PATCH /campaigns/{campaign_id}` |
| `POST /campaigns/{campaign_id}/resume` | `PATCH /campaigns/{campaign_id}` |
| `POST /campaigns/{campaign_id}/stop` | `PATCH /campaigns/{campaign_id}` |
| `POST /campaigns/{campaign_id}/leads` | `PATCH /campaigns/{campaign_id}` |
| `DELETE /campaigns/{campaign_id}/leads/{lead_id}` | `PATCH /campaigns/{campaign_id}` |

### Conversations

| Earlier request | Now |
| - | - |
| `GET /conversations/{lead_id}` | `GET /conversations` |
| `POST /conversations/{lead_id}/messages` | `POST /messages` |
| `POST /chat-agents/{agent_id}/start` | `POST /messages` |
| `POST /dnc` | `PATCH /dnc` |
| `DELETE /dnc/{entry_id}` | `PATCH /dnc` |

### Agents

| Earlier request | Now |
| - | - |
| `GET /voice-agents` | `GET /agents` |
| `GET /voice-agents/{agent_id}` | `GET /agents` |
| `GET /voice-agents/{agent_id}/configuration` | `GET /agents` |
| `GET /voice-agents/{agent_id}/inbound/config` | `GET /agents` |
| `GET /voice-agents/{agent_id}/channels/{channel}` | `GET /agents` |
| `GET /voice-agents/{agent_id}/knowledge-bases` | `GET /agents` |
| `GET /voice-agents/{agent_id}/tools` | `GET /agents` |
| `GET /voice-agents/{agent_id}/voices` | `GET /agents` |
| `GET /chat-agents` | `GET /agents` |
| `GET /chat-agents/{agent_id}` | `GET /agents` |
| `POST /voice-agents` | `POST /agents` |
| `POST /voice-agents/drafts` | `POST /agents` |
| `PATCH /voice-agents/{agent_id}` | `PATCH /agents/{agent_id}` |
| `PUT /voice-agents/{agent_id}/inbound/config` | `PATCH /agents/{agent_id}` |
| `POST /voice-agents/{agent_id}/channels/{channel}` | `PATCH /agents/{agent_id}` |
| `POST /voice-agents/{agent_id}/knowledge-bases` | `PATCH /agents/{agent_id}` |
| `DELETE /voice-agents/{agent_id}/knowledge-bases/{kb_id}` | `PATCH /agents/{agent_id}` |
| `POST /voice-agents/{agent_id}/publish` | `PATCH /agents/{agent_id}` |
| `POST /tools/{tool_id}/assignments` | `PATCH /agents/{agent_id}` |
| `DELETE /tools/{tool_id}/assignments/{agent_id}` | `PATCH /agents/{agent_id}` |
| `POST /chat-agents/{agent_id}/live` | `PATCH /agents/{agent_id}` |
| `DELETE /voice-agents/{agent_id}` | `DELETE /agents/{agent_id}` |
| `GET /voices/{voice_id}/preview` | `GET /voices` |
| `GET /tools/{tool_id}` | `GET /tools` |
| `GET /tools/catalog` | `GET /tools` |
| `GET /voice-agents/{agent_id}/tools/catalog` | `GET /tools` |
| `POST /voice-agents/{agent_id}/tools` | `POST /tools` |
| `PATCH /voice-agents/{agent_id}/tools/{tool_id}` | `PATCH /tools/{tool_id}` |
| `DELETE /voice-agents/{agent_id}/tools/{tool_id}` | `DELETE /tools/{tool_id}` |
| `POST /voice-agents/{agent_id}/tools/{tool_id}/test` | `POST /tools/{tool_id}/test` |
| `GET /knowledge-bases/{kb_id}` | `GET /knowledge-bases` |
| `GET /knowledge-bases/{kb_id}/sources` | `GET /knowledge-bases` |
| `GET /knowledge-bases/{kb_id}/sources/{source_id}` | `GET /knowledge-bases` (`id` and `source_id`) |
| `POST /knowledge-bases/{kb_id}/sources/text` | `PATCH /knowledge-bases/{kb_id}` |
| `POST /knowledge-bases/{kb_id}/sources/url` | `PATCH /knowledge-bases/{kb_id}` |
| `PATCH /knowledge-bases/{kb_id}/sources/{source_id}` | `PATCH /knowledge-bases/{kb_id}` |
| `POST /knowledge-bases/{kb_id}/sources/{source_id}/restore-snapshot` | `PATCH /knowledge-bases/{kb_id}` (`restore_snapshots`) |
| `POST /knowledge-bases/{kb_id}/sources/{source_id}/accept-provider-update` | `PATCH /knowledge-bases/{kb_id}` (`accept_provider_updates`) |
| `DELETE /knowledge-bases/{kb_id}/sources/{source_id}` | `PATCH /knowledge-bases/{kb_id}` |
| `GET /voice-agents/{agent_id}/widgets` | `GET /widgets` |
| `GET /voice-agents/{agent_id}/widgets/{widget_id}` | `GET /widgets` |
| `GET /voice-agents/{agent_id}/widgets/{widget_id}/embed` | `GET /widgets` |
| `POST /voice-agents/{agent_id}/widgets` | `POST /widgets` |
| `PATCH /voice-agents/{agent_id}/widgets/{widget_id}` | `PATCH /widgets/{widget_id}` |
| `DELETE /voice-agents/{agent_id}/widgets/{widget_id}/launcher-media` | `PATCH /widgets/{widget_id}` |
| `DELETE /voice-agents/{agent_id}/widgets/{widget_id}` | `DELETE /widgets/{widget_id}` |
| `POST /voice-agents/{agent_id}/avatar` | `POST /files` |
| `POST /voice-agents/{agent_id}/widgets/{widget_id}/avatar` | `POST /files` |
| `POST /voice-agents/{agent_id}/widgets/{widget_id}/launcher-media` | `POST /files` |

### Calls and numbers

| Earlier request | Now |
| - | - |
| `GET /voice/calls` | `GET /calls` |
| `GET /voice/calls/{call_id}` | `GET /calls` |
| `POST /voice/calls` | `POST /calls` |
| `POST /voice-agents/{agent_id}/test-call` | `POST /calls` |
| `POST /voice-agents/{agent_id}/phone-test-call` | `POST /calls` |
| `GET /phone-numbers/{number_id}/outbound-setup` | `GET /phone-numbers` |
| `POST /phone-numbers/import/search` | `POST /phone-numbers` |
| `POST /phone-numbers/import/confirm` | `POST /phone-numbers` |
| `POST /phone-numbers/import/outbound-profile` | `POST /phone-numbers` |
| `PUT /phone-numbers/{number_id}/inbound-agent` | `PATCH /phone-numbers/{number_id}` |
| `PUT /phone-numbers/{number_id}/outbound-setup` | `PATCH /phone-numbers/{number_id}` |
| `POST /phone-numbers/{number_id}/outbound-profile` | `PATCH /phone-numbers/{number_id}` |

### Platform

| Earlier request | Now |
| - | - |
| `GET /webhook-endpoints/{endpoint_id}` | `GET /webhook-endpoints` |
| `GET /webhook-endpoints/{endpoint_id}/deliveries` | `GET /webhook-endpoints` |
| `POST /webhook-endpoints/{endpoint_id}/rotate-secret` | `PATCH /webhook-endpoints/{endpoint_id}` |
| `POST /webhook-endpoints/{endpoint_id}/test` | `PATCH /webhook-endpoints/{endpoint_id}` |
| `GET /jobs/{job_id}` | `GET /jobs` |
| `GET /leads/imports/{import_id}` | `GET /jobs` |
| `GET /analytics/overview` | `GET /analytics` |
| `GET /analytics/campaigns` | `GET /analytics` |
| `GET /analytics/campaigns/{campaign_id}` | `GET /analytics` |

### Agency

| Earlier request | Now |
| - | - |
| `GET /partner/overview` | `GET /partner/clients` |
| `GET /partner/clients/{client_id}/features` | `GET /partner/clients` |
| `PUT /partner/clients/{client_id}/branding` | `PATCH /partner/clients/{client_id}` |
| `PUT /partner/clients/{client_id}/features` | `PATCH /partner/clients/{client_id}` |
| `GET /partner/signup-config` | `GET /partner/settings` |
| `GET /partner/launch-config` | `GET /partner/settings` |
| `GET /partner/experience/draft` | `GET /partner/settings` |
| `GET /partner/experience/versions` | `GET /partner/settings` |
| `PUT /partner/signup-config` | `PUT /partner/settings` |
| `PUT /partner/experience/draft` | `PUT /partner/settings` |
| `POST /partner/experience/publish` | `PUT /partner/settings` |
| `POST /partner/experience/versions/{version_id}/rollback` | `PUT /partner/settings` |

### Left out of the reference

These still work. They are not part of the reference because they are repeated by another endpoint, or are called by Sendora's own app or embed script rather than by your server.

| Request | Why |
| - | - |
| `POST /lead-lists/{list_id}/source-runs` | One-time prospect search repeats Run a prospect search plus Create leads. Confirm nothing uses it. |
| `POST /lead-lists/{list_id}/source-runs/{source_run_id}/start` | Same as above. |

## Merged again: one set of calls per family

A second pass merged similar resources behind a `type` field. Each family has `GET` (list or read), `POST` (create), `PATCH /{id}`, `DELETE /{id}?type=` and `POST /{id}/actions`. The earlier paths keep working.

| Earlier request | Now |
| - | - |
| `/lead-lists`, `/segments`, `/pipeline-stages`, `/lead-sources`, `/lead-requests` | `/lead-collections` with `type` list, segment, stage, source or request |
| `/approvals`, `/escalations`, `/tasks`, `/meetings`, `GET /needs-attention` | `/work-items` with `type` approval, escalation, task or meeting; `view=attention` for needs-attention |
| `/accounts`, `/domains`, `/caller-ids`, `/sender-pools`, `/crm-connections`, `/integration-health` | `/connections` with `type` account, domain, caller\_id, pool, crm or health |
| `POST /chat-agents` | `POST /agents` with `type` chat |
| `PATCH /chat-agents/{agent_id}`, `/live`, `/config`, `/custom-actions` | `PATCH /agents/{agent_id}` with `type` chat and `chat` (channels, follow-up, settings, actions, custom actions) |
| `GET /chat-agents/{agent_id}/config` | `GET /agents/{agent_id}/context?type=chat` |
| `POST /chat-agents/{agent_id}/actions` and `/start` | `POST /agents/{agent_id}/actions` (`start_chat`, `start_many`, `replay` and the rest) |
| `/webhook-endpoints`, `GET /connected-accounts` | `/connections` with `type` webhook or connected |
| `GET /team`, `GET /team/access`, `POST /team/actions`, `DELETE /team/{id}`, `PATCH /team/{id}/access` | `/workspace-settings` (`include=team`, `access_catalog`, `member_access`; `POST /workspace-settings/actions`; `PATCH` with `team_access`) |
| `GET /billing` | `GET /workspace-settings?include=billing.wallet,billing.subscription,...` |
| `GET /phone-numbers/available`, `/requirements` | `GET /phone-numbers?view=available` or `view=requirements` |
| `GET /phone-numbers/{id}/details`, `PATCH /phone-numbers/{id}/settings` | `GET /phone-numbers?id=&include=` and `PATCH /phone-numbers/{id}` |
| `POST /phone-numbers/import-twilio`, `POST /phone-numbers/regulatory` | `POST /phone-numbers` with `step` twilio\_search, twilio\_confirm, regulatory\_address or regulatory\_document |
| `POST /purchases/quotes` | `POST /purchases` with `step` quote |
| `POST /custom-voices/clone` | `POST /custom-voices` with `type` clone |
| `GET`/`PATCH /leads/{lead_id}/context` | `GET /leads?id=&include=ai_state,...` and `PATCH /leads/{lead_id}` with `context` |
| `PATCH /agents/{agent_id}/context` | `PATCH /agents/{agent_id}` with `test_context` |
| `GET /sms-registrations/readiness` | `GET /sms-registrations?view=readiness` |
| `GET /partner/clients/{id}/details`, `/limits`, `/users` | `GET /partner/clients?id=&include=details,limits,audit,users` |
| `PATCH /partner/clients/{id}/profile`, `/limits`, `/users` and the user calls | `PATCH /partner/clients/{id}` with `profile`, `usage_caps`, `access`, `users` |
| `POST /partner/packages/{id}/versions` | `POST /partner/packages` with `package_id` |
| `GET /partner/pricing`, `POST /partner/pricing/actions` | `GET /partner/packages?include=pricing`, `PUT /partner/pricing` with `publish` |
| `/campaign-folders`, `GET /campaign-templates`, `POST /campaigns/import` | `/campaigns` with `type` folder, template or import |
| `GET`/`PATCH /campaigns/{campaign_id}/config` | `GET /campaigns?id=&include=config.journey,...` and `PATCH /campaigns/{campaign_id}` with `config` |
| `/tools`, `/widgets` | `/agent-resources` with `type` tool or widget |
| `/deliverability-tests` | `/connections` with `type` test and `test` blacklist or placement |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.