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
          • create
          • delete
          • get
          • list
          • list_addresses
          • update
        • Subscribers
        • 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 ClientFabricSIP Gateways

list

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

list_addresses

Next
Built with

List SIP gateway resources in the project.

Response

datalist of objectsRequired
An array of objects that contain a list of SIP Gateway data
linksobjectRequired
Pagination links for the response.

Response Example

Response
1{
2 "data": [
3 {
4 "id": "0823a606-0aff-4c90-9eba-f88ba118fe05",
5 "project_id": "bc949800-7b40-43cf-8438-a85facfcbdd1",
6 "display_name": "My SIP Gateway",
7 "type": "sip_gateway",
8 "created_at": "2024-05-06T12:20:00Z",
9 "updated_at": "2024-05-06T12:20:00Z",
10 "sip_gateway": {
11 "id": "cce59cad-104d-4c28-ada4-98cfd102ae09",
12 "uri": "user3@domain.com",
13 "name": "My SIP Gateway",
14 "ciphers": [
15 "AEAD_AES_256_GCM_8"
16 ],
17 "codecs": [
18 "OPUS"
19 ],
20 "encryption": "required"
21 }
22 }
23 ],
24 "links": {
25 "self": "https://example.signalwire.com/api/fabric/resources/sip_gateways?page_number=0&page_size=50",
26 "first": "https://example.signalwire.com/api/fabric/resources/sip_gateways?page_number=0&page_size=50",
27 "next": "https://example.signalwire.com/api/fabric/resources/sip_gateways?page_number=1&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca",
28 "prev": "https://example.signalwire.com/api/fabric/resources/sip_gateways?page_number=0&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca"
29 }
30}

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.sip_gateways.list()
10for gateway in response.get("data", []):
11 print(f"{gateway['display_name']}: {gateway['id']}")