Attach Campaign
Link a phone number to a specific campaign. Phone numbers must be linked to a campaign to send messages.
Authentication
PINNACLE-API-KEYstring
API Key authentication via header
Request
This endpoint expects an object.
phones
List of phone number (E.164 format).
campaignType
Type of messaging profile associated with the phone number.
Allowed values:
campaignId
Unique identifier for the campaign. <br>
- **TOLL_FREE** campaigns:
- Must begin with the prefix `tf_`
- Example: `tf_1234567890`
- **10DLC** campaigns:
- Must begin with the prefix `dlc_`
- Example: `dlc_1234567890`
Response
Successfully attached the campaign.
phoneNumbers
List of phone numbers.
failed
List of numbers that were not failed to be attached.

