---
title: "Import Number"
method: POST
path: "/phone-numbers/import-number"
---

# Import Number

`POST /phone-numbers/import-number`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/phone-numbers/import-number`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `x-internal-api-key` string, nullable

## Request body

- ImportNumberRequest
  - `phoneNumber` string, required
  - `countryCode` string, required
  - `agentId` string, required
  - `twilioAccountSid` string, nullable
  - `twilioAuthToken` string, nullable
  - `provider` string
  - `isSecondary` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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