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

# Publish and versions

> Publishes the draft, pauses and resumes the cadence, lists and restores versions and computes the impact

# Publish and versions

Publishes the draft as a new version, pauses and resumes the cadence, lists the published versions, restores an old version and counts how many debts the cadence takes. Available only to debt-collection workspaces (see [Collection cadences](https://docs.talkover.ai/en/api-reference/portfolio/cadences.md)).

| What it does | Call |
| - | - |
| Publishes the draft | `POST /api/v1/cadences/{id}/publish` |
| Pauses the cadence | `POST /api/v1/cadences/{id}/pause` |
| Resumes the cadence | `POST /api/v1/cadences/{id}/resume` |
| Lists the published versions | `GET /api/v1/cadences/{id}/versions` |
| Copies a version into the draft | `POST /api/v1/cadences/{id}/versions/{version_id}/restore` |
| Computes the impact | `POST /api/v1/cadences/{id}/impact` |

## Publish

**lock\_version** `integer` *required*

The `lock_version` of the draft you reviewed. If it changed since, the response is `409` and nothing is published.

**note** `string`

Version note, up to 255 characters.

The first publication activates the cadence. Publishing again keeps the status: a paused cadence stays paused. A debt in the middle of a sequence finishes on the version it started; the new version applies from its next band entry.

```json theme={null}
{ "success": true, "message": "Version 2 published.", "data": { "number": 2 } }
```

Publishing is refused with `422` and the reasons in `errors` when, for example: there is no band; bands overlap; a band has no contact; a contact is outside its band; the channel is not available; the channel configuration is invalid (unpublished agent, archived campaign, WhatsApp template not approved, non-public webhook URL); a band's first contact is not `always`.

```json theme={null}
{ "success": false, "message": "The cadence cannot be published yet.", "errors": { "steps.0.actions.0": ["The call needs a voice campaign of this workspace."] } }
```

## Pause and resume

Pausing stops creating contacts at once; what is already in a campaign follows the campaign. Only **resume** sets the cadence back to `active`. A published cadence cannot be deleted: pause it.

## Versions

Each version has the draft's format, plus `published_by_name` (who published on the screen; `null` when published through the API with the environment token) and `is_current`.

Restoring copies the chosen version into the draft (`data.lock_version`); nothing changes until you publish. A version of another cadence answers `404`.

## Impact

Counts, without creating contacts, how many debts of your portfolio enter the cadence: total, per band, outside the bands, already in a higher-priority cadence, and a histogram by delinquency. Uses the draft, or the version in force when there is no draft.

> [!NOTE]
>
> The impact goes through the whole portfolio: up to **10 calls per minute**. Above that the response is `429`.

```json theme={null}
{
  "success": true,
  "message": "",
  "data": { "total": 1610, "per_step": [1200, 410], "outside_steps": 230, "higher_priority": 0, "histogram": [ { "from": -5, "to": -3, "count": 12 }, … ], "computed_at": "2026-11-24T18:05:00+00:00" }
}
```

## Error responses

| Status | When |
| - | - |
| `404` | a cadence or version from another workspace |
| `409` | the draft changed after you read it |
| `422` | publication refused (`errors`), nothing to publish, or pause/resume in the wrong status |
| `429` | impact above 10 per minute |


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