Skip to main content
PATCH
/
sip-trunks
/
{id}
Update SIP Trunk
curl --request PATCH \
  --url https://api.revring.ai/v1/sip-trunks/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "cloud": {
    "numbers": [
      "<string>"
    ]
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "gatewayName": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "friendlyName": "<string>",
    "username": "<string>",
    "proxy": "<string>",
    "cloud": {
      "numbers": [
        "<string>"
      ]
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.revring.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Path Parameters

id
string<uuid>
required

SIP trunk ID

Body

application/json

Update SIP Trunk. Only phone numbers can be modified after creation.

cloud
object
required

Update phone numbers associated with this trunk

Response

SIP trunk updated

data
object

SIP Trunk for routing phone calls