Skip to main content

Global settings

Read and write account-level settings (v2 manager API). Available as mgr.settings / mgr.Settings / mgr.settings, grouped by scope.

Groups: app (customerLogging, conversations, integrations, agentStatus), telephony (agentInbound, agentOutbound, agentRecording, agentWrapup, postCall), audit (default), ui (i18n), retention (periods).

In TypeScript and Go each group is read/written as its data payload — the SDK handles the { scope, key } envelope. In Rust each section is a flat mgr.settings.<scope>_<section>() reader and a set_<scope>_<section>(..) writer that return the section's typed response (read its item.data).

Read a setting

const recording = await mgr.settings.telephony.agentRecording.get();
console.log(recording.alwaysRecordOutbound);

const i18n = await mgr.settings.ui.i18n.get();

Update a setting

update returns the new value. The update payload is the request type (all fields optional, so you can send just what you want to change).

const updated = await mgr.settings.app.customerLogging.update({ enabled: true });

await mgr.settings.telephony.agentWrapup.update({
cancelWrapUp: true,
maxExtension: 30,
});

List & clear settings generically

Beyond the typed section accessors, you can list or clear settings by scope/key without knowing the section type — useful for admin tooling that walks the whole configuration.

const all = await mgr.settings.listAll();
const appScope = await mgr.settings.listInScope("app");
await mgr.settings.clear("app", "customer.logging");
await mgr.settings.clearInScope("telephony");
await mgr.settings.clearAll();

Reference