---
title: "Create Phone Number"
method: POST
path: "/api/v1/organizations/telephony-configs/{config_id}/phone-numbers"
tags: ["main", "organizations"]
---

# Create Phone Number

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

## Request

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

## Path parameters

- `config_id` integer, required

## Headers

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

## Request body

- PhoneNumberCreateRequest: Create a new phone number under a telephony configuration. ``address_normalized`` and ``address_type`` are computed server-side from ``address`` (and ``country_code`` if PSTN). ``address`` itself is stored verbatim for display.
  - `address` string, required
  - `country_code` string, nullable
  - `label` string, nullable
  - `inbound_workflow_id` integer, nullable
  - `telephony_trunk_id` integer, nullable
  - `is_active` boolean
  - `is_default_caller_id` boolean
  - `extra_metadata` object

## Response `200`

Successful Response

- PhoneNumberResponse
  - `id` integer, required
  - `telephony_configuration_id` integer, required
  - `address` string, required
  - `address_normalized` string, required
  - `address_type` string, required
  - `country_code` string, nullable
  - `label` string, nullable
  - `inbound_workflow_id` integer, nullable
  - `inbound_workflow_name` string, nullable
  - `telephony_trunk_id` integer, nullable
  - `is_active` boolean, required
  - `is_default_caller_id` boolean, required
  - `extra_metadata` object, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `provider_sync` ProviderSyncStatus: Result of pushing a phone-number change to the upstream provider. Returned alongside create/update responses when the route attempted to sync inbound webhook configuration. ``ok=False`` is a warning, not a fatal error — the DB write succeeded.
    - `ok` boolean, required
    - `message` string, nullable

## Other responses

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

## Changes

- **2026-11-03** `faa00cf76fcb`: 2 info
  - added the new optional request property `telephony_trunk_id`
  - added the optional property `telephony_trunk_id` to the response with the `200` status

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/organizations/telephony-configs/:config_id/phone-numbers/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)
