Queues

View as MarkdownOpen in Claude

Manage call queues and their members. Queues allow you to hold callers and distribute them to available agents. This resource provides full CRUD on queues (with PUT for updates) plus member management operations.

Access via client.queues on a RestClient instance.

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com"
7});
8
9const queues = await client.queues.list();
10for (const q of queues.data ?? []) {
11 console.log(q.id, q.friendlyName);
12}

Methods