Skip to navigation

List addresses associated with a conference room resource.

Path parameters

idstringRequiredformat: "uuid"
The unique identifier of the Conference Room.

Response

datalist of objectsRequired
An array of objects containing list of Conference Room Addresses

Response Example

Response
{
"data": [
{
"id": "691af061-cd86-4893-a605-173f47afc4c2",
"name": "justice-league",
"display_name": "Justice League",
"cover_url": "https://coverurl.com",
"preview_url": "https://previewurl.com",
"locked": true,
"channels": {
"audio": "/external/resource_name?channel=audio"
},
"created_at": "2024-05-06T12:20:00Z",
"type": "room"
}
],
"links": {
"self": "https://example.signalwire.com/api/fabric/resources/conference_room/016e5773-c197-4446-bcc2-9c48f14e2d0a/addresses?page_number=0&page_size=50&type=conference_room",
"first": "https://example.signalwire.com/api/fabric/resources/conference_room/016e5773-c197-4446-bcc2-9c48f14e2d0a/addresses?page_number=0&page_size=50&type=conference_room",
"next": "https://example.signalwire.com/api/fabric/resources/conference_room/016e5773-c197-4446-bcc2-9c48f14e2d0a/addresses?page_number=1&page_size=50&page_token=PA6581c1fa-d985-4c8f-b53e-2fee11b579ad&type=conference_room",
"prev": "https://example.signalwire.com/api/fabric/resources/conference_room/016e5773-c197-4446-bcc2-9c48f14e2d0a/addresses?page_number=0&page_size=50&page_token=PA6581c1fa-d985-4c8f-b53e-2fee11b579ad&type=conference_room"
}
}

Example

import { RestClient } from "@signalwire/sdk";
const client = new RestClient({
project: "your-project-id",
token: "your-api-token",
host: "your-space.signalwire.com"
});
const addresses = await client.fabric.conferenceRooms.listAddresses("room-id");
for (const addr of addresses.data ?? []) {
console.log(`${addr.display_name}: ${addr.id}`);
}