---
title: "Update SIP gateway"
method: PATCH
path: "/api/fabric/resources/sip_gateways/{id}"
tags: ["SIP Gateway"]
---

# Update SIP gateway

`PATCH /api/fabric/resources/sip_gateways/{id}`

Changes the destination or supported media settings of a SIP Gateway identified by resource ID. Use it when outbound SIP routing changes; update a registering device through [Update SIP credential](/docs/apis/rest/sip-credentials/update-sip-credential) instead.

#### Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.

[Learn more about API scopes](/docs/platform/your-signalwire-api-space).

## Path parameters

- `id` string, uuid, required — Universal Unique Identifier.

## Request body

- SipGatewayRequestUpdate
  - `name` string — Display name for the SIP Gateway.
  - `uri` string — External SIP URI.
  - `encryption` 'required' | 'optional' | 'default'
  - `ciphers` Ciphers[] — List of supported SIP ciphers.
  - `codecs` Codecs[] — List of supported codecs for media transmission.

## Response `200`

The request has succeeded.

- SipGatewayResponse
  - `id` string, uuid, required — Universal Unique Identifier.
  - `project_id` string, uuid, required — Universal Unique Identifier.
  - `display_name` string, required — Display name of the SIP Gateway.
  - `type` 'sip_gateway', required — Type of the resource.
  - `created_at` string, date-time, required — Timestamp when the resource was created.
  - `updated_at` string, date-time, required — Timestamp when the resource was last updated.
  - `sip_gateway` SipGateway, required
    - `id` string, uuid, required — Universal Unique Identifier.
    - `uri` string, required — The URI for the SIP Gateway.
    - `name` string, required — Display name of the SIP Gateway.
    - `ciphers` Ciphers[], required — List of supported SIP ciphers.
    - `codecs` Codecs[], required — List of supported codecs.
    - `encryption` 'required' | 'optional' | 'default', required

## Other responses

- `401` — Access is unauthorized.
- `404` — The server cannot find the requested resource.
- `422` — The request contains invalid parameters. See errors for details.
- `500` — An internal server error occurred.

## Changes

> 137 revisions in range; 3 could not be searched.

- **2026-07-08** `9709f1df4022` — 4 warning, 4 info
  - added the new `OPUS@16000H@20I` enum value to the `sip_gateway/allOf[#/components/schemas/SipGateway]/codecs/items/` response property for the response status `200`
  - added the new `OPUS@24000H@20I` enum value to the `sip_gateway/allOf[#/components/schemas/SipGateway]/codecs/items/` response property for the response status `200`
  - added the new `OPUS@48000H@20I` enum value to the `sip_gateway/allOf[#/components/schemas/SipGateway]/codecs/items/` response property for the response status `200`
  - added the new `OPUS@8000H@20I` enum value to the `sip_gateway/allOf[#/components/schemas/SipGateway]/codecs/items/` response property for the response status `200`
  - …4 more
- **2026-07-08** `a888562fa415` — 4 breaking, 4 info
  - removed the enum value `OPUS@16000H@20I` of the request property `codecs/items/`
  - removed the enum value `OPUS@24000H@20I` of the request property `codecs/items/`
  - removed the enum value `OPUS@48000H@20I` of the request property `codecs/items/`
  - removed the enum value `OPUS@8000H@20I` of the request property `codecs/items/`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/signalwire/apis/signalwire-rest-api/changes/api/fabric/resources/sip_gateways/:id/patch.md)

---

[API](https://skmtc.dev/signalwire/apis/signalwire-rest-api.md) · [All operations](https://skmtc.dev/signalwire/apis/signalwire-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/signalwire/signalwire-rest-api/revisions/792d5b8e2970/schema)
