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

get

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

list

Next
Built with

Retrieve a single SIP gateway resource.

Path parameters

idstringRequiredformat: "uuid"
Unique ID of a SIP Gateway.

Response

idstringRequiredformat: "uuid"
Unique ID of the resource.
project_idstringRequiredformat: "uuid"
Project ID associated with the resource.
display_namestringRequired
Display name of the SIP Gateway.
typeenumRequired
Type of the resource.
Allowed values:
created_atdatetimeRequired
Timestamp when the resource was created.
updated_atdatetimeRequired
Timestamp when the resource was last updated.
sip_gatewayobjectRequired
SIP Gateway configuration details.

Response Example

Response
1{
2 "id": "0823a606-0aff-4c90-9eba-f88ba118fe05",
3 "project_id": "bc949800-7b40-43cf-8438-a85facfcbdd1",
4 "display_name": "My SIP Gateway",
5 "type": "sip_gateway",
6 "created_at": "2024-05-06T12:20:00Z",
7 "updated_at": "2024-05-06T12:20:00Z",
8 "sip_gateway": {
9 "id": "cce59cad-104d-4c28-ada4-98cfd102ae09",
10 "uri": "user3@domain.com",
11 "name": "My SIP Gateway",
12 "ciphers": [
13 "AEAD_AES_256_GCM_8"
14 ],
15 "codecs": [
16 "OPUS"
17 ],
18 "encryption": "required"
19 }
20}

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 gateway = await client.fabric.sipGateways.get("gateway-id");
10console.log("Sip Gateway:", gateway.display_name, "ID:", gateway.id);