Skip to main content

Collection cadences

Manages through the API the cadences you build on the Cobrança › Régua screen: who enters (filter), the delinquency bands and the contacts of each band (day, channel, time, condition). The rules are the same as the screen’s. Available only to debt-collection workspaces (see Debt collection portfolio).
Cadences must be enabled for your workspace. Without that, every call answers 404. A workspace that is not debt collection answers 403.

How a cadence works

  • A workspace has several cadences, in priority order. A debt belongs only to the first active cadence whose filter it matches.
  • Each cadence has a draft and published versions. You edit the draft; publishing turns it into a new version that never changes.
  • status: draft (never published), active or paused. Publishing again keeps the status: a paused cadence stays paused until you resume it.
  • Today every cadence runs in simulation (mode: simulate): it plans the contacts but does not call or send. Real contacts are enabled by Talkover, cadence by cadence.

Endpoints

Authentication

Use the environment token:
A user token (with X-Environment-Id) also works. To change cadences, the user needs the permission to manage campaigns in the workspace; without it, changes answer 403 and reads still work.

Create a cadence

string
required
Cadence name, up to 120 characters.
The response is 201 with the cadence in the get format. It goes to the end of the priority order.

Get a cadence

object
The version in force, or null if the cadence was never published. Format in Cadence draft.
object
The draft, or null when no edit is in progress. Carries the lock_version you send when saving and publishing.
object
The fields the filter accepts: the fixed contract fields and up to 50 free keys seen in your debts.

Reorder

array
required
The ids of all the workspace’s cadences, in the new order (the first gets priority 1).
An incomplete list or a repeated id answers 422.

Error responses