Attach numbers to campaign
msg_assign_numbersAssign telephone numbers to a 10DLC campaign to enable outbound messaging. Required before sending messages from those numbers.
Instructions
Attach telephone numbers you own to one of your 10DLC campaigns. This is STEP 3 of the 10DLC flow (msg_create_brand → msg_create_campaign → assign numbers) and is required before msg_send will accept a number as from. Returns per-TN assigned/failed lists (failure reasons: not_found, not_owned, lookup_error, write_error); the response is NOT wrapped in the standard envelope. Errors: INVALID_PAYLOAD (400), NOT_FOUND (404, campaign not owned), TNIQ_ERROR (502).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign ID (messaging-backend UUID, as returned by msg_list_campaigns / msg_create_campaign) | |
| phone_numbers | Yes | Telephone numbers to attach, NANP format, e.g. ["13039813633"] |