---
title: "Create SIP gateway"
method: POST
path: "/api/fabric/resources/sip_gateways"
tags: ["SIP Gateway"]
---

# Create SIP gateway

`POST /api/fabric/resources/sip_gateways`

Creates a SIP Gateway that can be used to dial external SIP entities.

#### 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).

## Request body

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

## Response `201`

The request has succeeded and a new resource has been created as a result.

- 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.

---

[API](https://skmtc.net/signalwire/apis/signalwire-rest-api.md) · [All operations](https://skmtc.net/signalwire/apis/signalwire-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signalwire/signalwire-rest-api/versions/05c5164b85c7/schema)
