---
title: "Create Telephony Trunk"
method: POST
path: "/api/v1/organizations/telephony-configs/{config_id}/trunks"
tags: ["main", "organizations"]
---

# Create Telephony Trunk

`POST /api/v1/organizations/telephony-configs/{config_id}/trunks`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/organizations/telephony-configs/{config_id}/trunks`
- Auth: none declared

## Path parameters

- `config_id` integer, required

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- TrunkCreateRequest
  - `name` string, required
  - `enabled` boolean
  - `settings` object

## Response `200`

Successful Response

- TrunkResponse: One carrier path on a configuration. ``settings`` is the provider's own trunk schema (validated on write against ``ProviderSpec.trunk_settings_cls``). The provider-side identifier is Dograh's bookkeeping and is not exposed.
  - `id` integer, required
  - `name` string, required
  - `enabled` boolean, required
  - `settings` object, required
  - `phone_number_count` integer
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/organizations/telephony-configs/:config_id/trunks/post.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
