---
title: "Buy Telnyx Number"
method: POST
path: "/api/channels/telnyx/numbers/buy"
tags: ["channels", "channels", "telnyx-voice"]
---

# Buy Telnyx Number

`POST /api/channels/telnyx/numbers/buy`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/telnyx/numbers/buy`
- Auth: none declared

Order a number.

Regulated countries (Thailand among them) require identity documents
before the order activates. Telnyx returns that as an error, which we
pass through verbatim — a generic failure would leave the user with no
idea that paperwork is what is missing.

## Request body

- TelnyxNumberBuyRequest
  - `api_key` string, required: Telnyx API v2 key
  - `phone_number` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
