Get an SMS campaign

Retrieve detailed information about a specific SMS campaign by its ID, including campaign content, sender, recipients with list names, statistics (delivered, sent, bounces, unsubscriptions, answered), and tags. Unlike the list endpoint, recipients are returned as objects with id and name fields rather than plain IDs.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

campaignIdlongRequired
id of the SMS campaign

Response

SMS campaign information
contentstring
Content of the SMS Campaign
createdAtstring

Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)

idlong
ID of the SMS Campaign
modifiedAtstring

UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)

namestring
Name of the SMS Campaign
senderstring
Sender of the SMS Campaign
statusenum
Status of the SMS Campaign
recipientsobject
Recipients of the SMS campaign. For a single campaign, lists and exclusion lists are returned as objects with id and name.
statisticsobject
organisationPrefixstring
A recognizable prefix added as the Brand Name before the message content. Empty string if not set.
scheduledAtstring

UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format. Empty string if not scheduled.

sentDatestring

UTC date-time on which the SMS campaign was sent (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if the campaign status is ‘sent’.

unsubscribeInstructionstring
Instructions to unsubscribe from future communications. Empty string if not set.
tagslist of strings

Tags (labels) associated with the SMS campaign. Only available when retrieving a single campaign.

Errors

400
Bad Request Error
404
Not Found Error