Skip to main content

Dialer

The outbound dialer (v2 manager API) — runtime info/flush, the dialer simple-call report, and dialer behaviours (reusable dialer configurations). Available as mgr.dialer / mgr.Dialer / mgr.dialer, with a nested behaviours sub-resource.

Info, flush & report

const info = await mgr.dialer.info();
await mgr.dialer.flush({ all: true }); // or { id: campaignId }
const calls = await mgr.dialer.simpleReportingAll();

Behaviours

for await (const b of mgr.dialer.behaviours.list()) console.log(b.name);
const created = await mgr.dialer.behaviours.create({ /* DialerBehaviourWriteBody */ });
await mgr.dialer.behaviours.update(created.item.id, { /* ... */ });
await mgr.dialer.behaviours.delete(created.item.id);

Reference