get

View as MarkdownOpen in Claude

Retrieve a single Relay application resource.

Path parameters

idstringRequiredformat: "uuid"
Unique ID of a Relay Application.

Response

idstringRequiredformat: "uuid"
Unique ID of the Relay Application.
project_idstringRequiredformat: "uuid"
Unique ID of the Project.
display_namestringRequired
Display name of the Relay Application Fabric Resource
typeenumRequired
Type of the Fabric Resource
created_atdatetimeRequired
Date and time when the resource was created.
updated_atdatetimeRequired
Date and time when the resource was updated.
relay_applicationobjectRequired
Relay Application data.

Response Example

Response
{
"id": "993ed018-9e79-4e50-b97b-984bd5534095",
"project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",
"display_name": "Customer Service Bot",
"type": "relay_application",
"created_at": "2024-05-06T12:20:00Z",
"updated_at": "2024-05-06T12:20:00Z",
"relay_application": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Booking Assistant",
"topic": "booking",
"call_status_callback_url": "https://example.com/callbacks"
}
}

Example

import { RestClient } from "@signalwire/sdk";
const client = new RestClient({
project: "your-project-id",
token: "your-api-token",
host: "your-space.signalwire.com",
});
const item = await client.fabric.relayApplications.get("resource-id");
console.log(`Relay Application: ${item.display_name}, ID: ${item.id}`);