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

list

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

list_addresses

Next
Built with

List subscriber resources in the project.

Response

datalist of objectsRequired
An array of objects that contain a list of Subscriber data
linksobjectRequired
Object containing pagination links

Response Example

Response
1{
2 "data": [
3 {
4 "id": "d369a402-7b43-4512-8735-9d5e1f387814",
5 "project_id": "d369a402-7b43-4512-8735-9d5e1f387814",
6 "display_name": "John Doe",
7 "type": "subscriber",
8 "created_at": "2024-05-06T12:20:00Z",
9 "updated_at": "2024-05-06T12:20:00Z",
10 "subscriber": {
11 "id": "d369a402-7b43-4512-8735-9d5e1f387814",
12 "email": "johndoe@example.com",
13 "first_name": "John",
14 "last_name": "Doe",
15 "display_name": "John Doe",
16 "job_title": "Software Engineer",
17 "timezone": "America/New_York",
18 "country": "United States",
19 "company_name": "SignalWire"
20 }
21 }
22 ],
23 "links": {
24 "self": "https://example.signalwire.com/api/fabric/resources/subscribers?page_number=0&page_size=50",
25 "first": "https://example.signalwire.com/api/fabric/resources/subscribers?page_number=0&page_size=50",
26 "next": "https://example.signalwire.com/api/fabric/resources/subscribers?page_number=1&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca",
27 "prev": "https://example.signalwire.com/api/fabric/resources/subscribers?page_number=0&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca"
28 }
29}

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
9response = client.fabric.subscribers.list()
10for subscriber in response.get("data", []):
11 print(f"{subscriber['display_name']}: {subscriber['id']}")