# Hermoso: assign_number_to_campaign · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/assign_number_to_campaign/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / assign_number_to_campaign

# `assign_number_to_campaign`

Add a number to a 10DLC campaign

Area: PHONE / SMS / VOICE · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Put one of the brand's numbers under an approved 10DLC campaign: on Twilio by adding it to the campaign's Messaging Service (messagingServiceSid), on Telnyx by campaignId. Free. Needs Hermoso phone on (activate_phone_service) or Twilio or Telnyx connected (Connectors, or connect_connector).

## Parameters

Parameter Type Description

`number` required `string`

`messagingServiceSid` `string`

`campaignId` `string`

`provider` `"twilio" | "telnyx"`

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/assign_number_to_campaign`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"assign_number_to_campaign","arguments":{"number":"<string>"}}}`
**CLI**

`hermoso call assign_number_to_campaign --json '{"number":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [activate_phone_service](https://hermoso.ai/docs/reference/publish/activate_phone_service/) Turn on Hermoso phone
- [connect_connector](https://hermoso.ai/docs/reference/workspace/connect_connector/) Connect a paste-a-key account
- [register_sms_campaign](https://hermoso.ai/docs/reference/publish/register_sms_campaign/) Register a 10DLC campaign
- [submit_tollfree_verification](https://hermoso.ai/docs/reference/publish/submit_tollfree_verification/) Submit toll-free verification
- [register_sms_brand](https://hermoso.ai/docs/reference/publish/register_sms_brand/) Register a 10DLC brand
- [list_calls](https://hermoso.ai/docs/reference/publish/list_calls/) List calls
- [create_sms_registration_bundles](https://hermoso.ai/docs/reference/publish/create_sms_registration_bundles/) Build Twilio's 10DLC registration bundles
- [list_call_recordings](https://hermoso.ai/docs/reference/publish/list_call_recordings/) List a call's recordings
- [sms_registration_status](https://hermoso.ai/docs/reference/publish/sms_registration_status/) 10DLC and toll-free status
- [transcribe_call](https://hermoso.ai/docs/reference/publish/transcribe_call/) Transcribe a call recording

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
