---
title: "Create SIP trunk"
method: POST
path: "/calls/1/sip-trunks"
tags: ["channels", "voice", "calls", "sip-trunks", "sip-trunk-management"]
---

# Create SIP trunk

`POST /calls/1/sip-trunks`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/calls/1/sip-trunks`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Create a SIP trunk. Fields not sent in request body will take default values. This operation is asynchronous. The SIP trunk will be created in the background.

## Request body

- 6423f137d264daaaab4ca521d6dfeb19cab29b6b25c3d2da0c1c3fb475a5e829SipTrunkRequest
  - `type` 'STATIC' | 'REGISTERED' | 'PROVIDER' | 'AUTHENTICATED': SIP trunk type.
  - `name` string, required: SIP trunk name.
  - `location` 'SAO_PAULO' | 'BOGOTA' | 'FRANKFURT' | 'SWEDEN' | 'JOHANNESBURG' | 'NEW_YORK' | 'PORTLAND' | 'MOSCOW' | 'SINGAPORE' | 'ISTANBUL' | 'KUALA_LUMPUR': SIP trunk location.
  - `internationalCallsAllowed` boolean: Indicates whether international calls should be allowed. Calls between different countries are considered international.
  - `channelLimit` integer, required: Maximum number of concurrent channels.
  - `billingPackage` 4527871876f1b326359cd9e5dcf777f0ecc3c5fde89b1e88f0c154b298b67611BillingPackage, required: Billing package.
    - `packageType` 'METERED' | 'UNLIMITED', required: Billing package type.
    - `countryCode` string: Country code. Currently, only `USA` is supported and required for the `UNLIMITED` package type.
    - `addressId` string: ID of SIP trunk address.

## Response `202`

Create SIP trunk request accepted.

- 74ef2de883b1c563e3452617e157979c03da4c002bc4346d51554a1679b9616fCreateSipTrunkResponse
  - `id` string: SIP trunk ID.
  - `type` 'STATIC' | 'REGISTERED' | 'PROVIDER' | 'AUTHENTICATED': SIP trunk type.
  - `name` string: SIP trunk name.
  - `location` 'SAO_PAULO' | 'BOGOTA' | 'FRANKFURT' | 'SWEDEN' | 'JOHANNESBURG' | 'NEW_YORK' | 'PORTLAND' | 'MOSCOW' | 'SINGAPORE' | 'ISTANBUL' | 'KUALA_LUMPUR': SIP trunk location.
  - `internationalCallsAllowed` boolean: Indicates whether international calls should be allowed. Calls between different countries are considered international.
  - `channelLimit` integer: Maximum number of concurrent channels.
  - `billingPackage` 4527871876f1b326359cd9e5dcf777f0ecc3c5fde89b1e88f0c154b298b67611BillingPackage: Billing package.
    - `packageType` 'METERED' | 'UNLIMITED', required: Billing package type.
    - `countryCode` string: Country code. Currently, only `USA` is supported and required for the `UNLIMITED` package type.
    - `addressId` string: ID of SIP trunk address.
  - `sbcHosts` 4527871876f1b326359cd9e5dcf777f0ecc3c5fde89b1e88f0c154b298b67611SbcHosts: Infobip SBC (Session Border Controller) hosts.
    - `primary` string[]
    - `backup` string[]
    - `subnets` string[]

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
