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).
Limit: 1 to 10
campaignType
Type of messaging profile associated with the phone number.
Allowed values:
campaignId
Unique identifier for the campaign.
- TOLL_FREE campaigns:
- Must begin with the prefix
tf_ - Example:
tf_1234567890
- Must begin with the prefix
- 10DLC campaigns:
- Must begin with the prefix
dlc_ - Example:
dlc_1234567890
- Must begin with the prefix
Response
Successfully attached the campaign.
phoneNumbers
List of phone numbers.
failed
List of numbers that were not failed to be attached.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
501
Not Implemented Error

