Attach Campaign

Link a phone number to a specific campaign.

Headers

PINNACLE-API-KEYstringRequired

Request

This endpoint expects an object.
phoneslist of stringsRequired

List of phone number (E.164 format).

campaignTypeenumRequired
Type of messaging profile associated with the phone number.
Allowed values:
campaignIdintegerRequired>=1
Campaign's identifier.

Response

Successfully attached the campaign.
phoneNumberslist of objects
List of phone numbers.
failedlist of objects
List of numbers that were not failed to be attached.

Errors