Fabric
The FabricNamespace provides access to all SignalWire Fabric resources through the
RestClient. It organizes 16 sub-resources
for managing AI agents, SWML scripts, RELAY applications, call flows, conference rooms,
subscribers, SIP infrastructure, cXML resources, and authentication tokens.
Access via client.fabric on a RestClient instance.
Fabric resources use two update strategies. Resources like aiAgents, swmlWebhooks,
sipGateways, and cxmlWebhooks use PATCH for partial updates. Resources like
swmlScripts, relayApplications, callFlows, conferenceRooms, subscribers,
and others use PUT for full replacement updates. The SDK handles this automatically.
AI agent resources with PATCH updates and address listing.
SWML script resources with PUT updates and address listing.
RELAY application resources with PUT updates and address listing.
Call flow resources with versioning and deployment.
Conference room resources with PUT updates.
Subscriber resources with SIP endpoint management.
Top-level SIP endpoint resources.
cXML script resources with PUT updates.
cXML application resources (no create).
SWML webhook resources with PATCH updates.
SIP gateway resources with PATCH updates.
cXML webhook resources with PATCH updates.
FreeSWITCH connector resources with PUT updates.
Cross-type generic resource operations with routing.
Read-only fabric address lookup.
Subscriber, guest, invite, and embed token creation.