---
title: "Assign Phone To Campaign"
method: POST
path: "/v2/a2p/campaign/{campaign_id}/assign-phone"
tags: ["v2", "a2p-registration"]
---

# Assign Phone To Campaign

`POST /v2/a2p/campaign/{campaign_id}/assign-phone`

## 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/a2p/campaign/{campaign_id}/assign-phone`
- Auth: HTTP bearer

Assign a phone number to an A2P campaign's Messaging Service.

This adds the phone number to the Twilio Messaging Service associated
with the campaign, enabling A2P-registered SMS sending.

## Path parameters

- `campaign_id` string, required

## Headers

- `mentium-workspace-id` string, nullable

## Request body

- AssignPhoneToCampaignRequest: Request to assign a phone number to an A2P campaign.
  - `phone_number_id` string, required

## Response `201`

Successful Response

- AssignPhoneToCampaignResponse: Response for phone assignment.
  - `id` string, required
  - `campaign_id` string, required
  - `phone_number_id` string, required
  - `created_at` string, date-time, required

## 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)
