For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
GuidesReference
GuidesReference
    • Core
      • Overview
    • Agents
      • Overview
      • AgentBase
      • AgentServer
      • Configuration
      • ContextBuilder
      • DataMap
      • FunctionResult
      • Helper Functions & Utilities
      • LiveWire
      • PomBuilder
      • Prefabs
      • SkillBase
      • SkillManager
      • SkillRegistry
      • Skills
      • SwaigFunction
      • SwmlBuilder
      • SWMLService
    • RELAY
      • Overview
      • Actions
      • Call
      • Constants
      • Events
      • Message
      • RelayClient
      • RelayError
    • REST Client
      • Overview
      • Addresses
      • Calling
      • ChatResource
      • Compat
      • Datasphere
      • Fabric
        • Addresses
        • AI Agents
        • Call Flows
        • Conference Rooms
        • cXML Applications
        • cXML Scripts
        • cXML Webhooks
        • FreeSWITCH Connectors
        • RELAY Applications
        • Resources
        • SIP Endpoints
        • SIP Gateways
        • Subscribers
          • create
          • createSipEndpoint
          • delete
          • deleteSipEndpoint
          • get
          • getSipEndpoint
          • list
          • listAddresses
          • listSipEndpoints
          • update
          • updateSipEndpoint
        • SWML Scripts
        • SWML Webhooks
        • Tokens
      • ImportedNumbersResource
      • Logs
      • LookupResource
      • MFA
      • Number Groups
      • Phone Numbers
      • Project
      • PubSubResource
      • Queues
      • Recordings
      • Registry
      • RestClient
      • RestError
      • Short Codes
      • SIP Profile
      • Verified Callers
      • Video
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Response Example
  • Example
REST ClientFabricSubscribers

get

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

getSipEndpoint

Next
Built with

Retrieve a single subscriber resource.

Path parameters

idstringRequiredformat: "uuid"
Unique ID of a Subscriber.

Response

idstringRequired
Unique ID of the request.
project_idstringRequired
Unique ID of the project.
display_namestringRequired
Display name of the Subscriber.
typeenumRequired
Type of the resource.
Allowed values:
created_atdatetimeRequired
Date and time when the resource was created.
updated_atdatetimeRequired
Date and time when the resource was updated.
subscriberobjectRequired
Subscriber data.

Response Example

Response
1{
2 "id": "d369a402-7b43-4512-8735-9d5e1f387814",
3 "project_id": "d369a402-7b43-4512-8735-9d5e1f387814",
4 "display_name": "John Doe",
5 "type": "subscriber",
6 "created_at": "2024-05-06T12:20:00Z",
7 "updated_at": "2024-05-06T12:20:00Z",
8 "subscriber": {
9 "id": "d369a402-7b43-4512-8735-9d5e1f387814",
10 "email": "johndoe@example.com",
11 "first_name": "John",
12 "last_name": "Doe",
13 "display_name": "John Doe",
14 "job_title": "Software Engineer",
15 "timezone": "America/New_York",
16 "country": "United States",
17 "company_name": "SignalWire"
18 }
19}

Example

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 subscriber = await client.fabric.subscribers.get("subscriber-id");
10console.log("Subscriber:", subscriber.display_name, "ID:", subscriber.id);