---
title: "Provision Phone Number"
method: POST
path: "/v2/phone-numbers/provision"
tags: ["v2", "phone-numbers"]
---

# Provision Phone Number

`POST /v2/phone-numbers/provision`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v2/phone-numbers/provision`
- Auth: HTTP bearer

Provision a phone number: Purchase from Twilio, import to ElevenLabs, and save to database.

The number is imported into ElevenLabs but not yet assigned to an agent.
Link a phone agent to this number from the Agents settings to activate calling.

## Headers

- `mentium-workspace-id` string, nullable

## Request body

- ProvisionPhoneNumberRequest: Request to provision (purchase from Twilio + deploy to ElevenLabs) a phone number
  - `phone_number` string, required: E.164 formatted phone number to purchase
  - `area_code` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `country_code` string, nullable

## Response `201`

Successful Response

- ProvisionPhoneNumberResponse: Response after provisioning a phone number
  - `id` string, required: Internal phone number record ID
  - `phone_number` string, required
  - `twilio_sid` string, required: Twilio phone number SID
  - `elevenlabs_phone_number_id` string, required: ElevenLabs phone number ID
  - `area_code` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `country_code` string, nullable
  - `status` string: Provisioning status

## Other responses

- `422`: Validation Error

---

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