***

title: create
slug: /reference/typescript/rest/fabric/sip-gateways/create
description: Create a new SIP gateway resource.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Create a new SIP gateway resource.

<EndpointSchemaSnippet endpoint="POST /api/fabric/resources/sip_gateways" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/fabric/resources/sip_gateways" />

## **Example**

```typescript {9}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com",
});

const result = await client.fabric.sipGateways.create({
  name: "my-gateway",
  uri: "sip:gw.example.com",
  encryption: "required",
  ciphers: ["AEAD_AES_256_GCM_8"],
  codecs: ["OPUS", "PCMU"],
});
console.log("Created:", result.id);
```