Manage Resources
The SignalWire platform models every callable thing — a person, a room,
an AI agent, a SWML script — as a Resource.
Each Resource is reachable via one or more Addresses
in the form /<context>/<name> (e.g. /private/jane, /public/support).
Users (called Subscribers on the platform) are the Resource type that represents a person in your
application, with credentials, identity, and assigned phone numbers.
The Browser SDK exposes three handles for working with these platform
concepts at runtime, all hanging off the connected SignalWire
client:
This section walks through each one in turn.
User vs “Subscriber”The Browser SDK calls this resource a User (client.user). The
platform still uses the name Subscriber in several places:
/api/fabric/subscribers/....Address for one of these resources still has type === 'subscriber'.User and Subscriber refer to the same thing. When you read
“Subscriber” in platform docs or dashboard UI, the SDK-side
equivalent is client.user.
The platform decides which Addresses a user can reach (based on context, ACLs, and the SAT’s scopes). The SDK surfaces that as an observable directory — your UI doesn’t have to know how the platform arrives at the list.
Working with client.user: profile fields, assigned addresses,
push notification keys, and the User / Subscriber naming.
client.directory and the Address entity: paginated listing,
lookup by URI, channels, messaging, and call history.
client.preferences: persisted device choices, media defaults,
custom userVariables, and ICE / recovery tuning.
call.self.capabilities: drive your UI off real server-granted
permissions instead of guessing what a participant may do.
For creating Users (Subscribers), minting tokens, or managing Resources from your backend, see the platform’s REST API reference and Subscribers overview. The Browser SDK itself never creates or destroys Resources — it only authenticates as one and consumes the Addresses the platform exposes to it.
SignalWire.user / SignalWire.user$ — authenticated userSignalWire.directory / SignalWire.directory$ — paginated address bookSignalWire.preferences — per-client settings (ClientPreferences)SelfCapabilities — per-call capability flagsUser, Address, Directory — the entity types