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
      • BedrockAgent
      • CLI Tools
      • Configuration
      • ContextBuilder
      • DataMap
      • FunctionResult
      • Helper Functions
      • LiveWire
      • MCP Gateway
      • PomBuilder
      • Prefabs
      • Search
      • SkillBase
      • Skills
      • SWAIGFunction
      • SWMLBuilder
      • SWMLService
      • WebService
    • RELAY
      • Overview
      • Actions
      • Call
      • Constants
      • Events
      • Message
      • RelayClient
      • RelayError
    • REST Client
      • Overview
      • Addresses
      • Calling
      • Chat
      • 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
          • create_sip_endpoint
          • delete
          • delete_sip_endpoint
          • get
          • get_sip_endpoint
          • list
          • list_addresses
          • list_sip_endpoints
          • update
          • update_sip_endpoint
        • SWML Scripts
        • SWML Webhooks
        • Tokens
      • Imported Numbers
      • Logs
      • Lookup
      • MFA
      • Number Groups
      • Phone Numbers
      • Project
      • PubSub
      • Queues
      • Recordings
      • Registry
      • RestClient
      • Short Codes
      • SignalWireRestError
      • 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

get_sip_endpoint

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

1from signalwire.rest import RestClient
2
3client = RestClient(
4 project="your-project-id",
5 token="your-api-token",
6 host="your-space.signalwire.com",
7)
8
9subscriber = client.fabric.subscribers.get("subscriber-id")
10print(f"Subscriber: {subscriber['display_name']}, ID: {subscriber['id']}")