Campaign Retrieve
Retrieve a single campaign, matching on AdmitHub campaign ID
Request
- Base URL: https://api.mainstay.com
- URL: https://api.mainstay.com/campaigns/{id}/
- Auth: API key in header Authorization
Path parameters
AdmitHub campaign ID can be found in the URL when viewing a single campaign page in Mascot<br />https://mascot.admithub.com/campaigns/admithub-campaign-id
Response
OK
AdmitHub campaign ID<br />Can be found in the URL when viewing a campaign in Mascot<br />https://admithub.mascot.com/campaigns/campaign-id
Name of the campaign
Time of campaign creation
Time campaign is scheduled for (UTC)
AdmitHub user ID of campaign creator
<code>"interactive"</code> if campaign has branches, <code>"nudge"</code> if not
Labels of the imports or partial imports used
ID of the Audience used
Name of the Audience used
AdmitHub campaign script ID<br />Can be found in the URL when viewing a campaign script in Mascot<br />https://admithub.mascot.com/dialogs/campaign-script-id
Human-readable name of campaign script
Date of the Script's creation
Count of the set of all Contacts that were targeted at the outset of this campaign
Mainstay IDs of the set of all Contacts that were targeted at the outset of this campaign
Number of contacts targeted in the campaign who were opted out when campaign was sent.<br />These contacts did not receive the campaign.
Mainstay IDs of contacts targeted in the campaign who were opted out when campaign was sent.<br />These contacts did not receive the campaign.
Number of contacts targeted in the campaign who were paused when campaign was sent.<br />These contacts did not receive the campaign.
Mainstay IDs of contacts targeted in the campaign who were paused when campaign was sent.<br />These contacts did not receive the campaign.
Number of contacts targeted in the campaign who had an invalid phone number when campaign was sent.<br />These contacts did not receive the campaign.
Mainstay IDs of contacts targeted in the campaign who had an invalid phone number when campaign was sent.<br />These contacts did not receive the campaign.
Number of delivery failures - contacts who for any reason did not receive one or more messages from the campaign<br />E.g. - contact's phone number in the AdmitHub database is a land-line<br />E.g. - contact's cellular carrier blocked delivery of a message
Mainstay IDs of contacts targeted in the campaign for whom there was an error in delivering the campaign
Number of contacts targeted in the campaign who received at least one message and responded at least once to this campaign.
Mainstay IDs of contacts targeted in the campaign who received at least one message and responded at least once to this campaign.
Number of contacts targeted in the campaign who received at least one message but have not responded to this campaign.
Mainstay IDs of contacts targeted in the campaign who received at least one message but have not responded to this campaign.
Number of contacts targeted in the campaign who opted out in reaction to any messages received during the campaign
Mainstay IDs of contacts targeted in the campaign who opted out in reaction to any messages received during the campaign
Number of contacts targeted in the campaign who paused in reaction to any messages received during the campaign
Mainstay IDs of contacts targeted in the campaign who paused in reaction to any messages received during the campaign
Number of all contacts targeted in the campaign who were opted out or paused when campaign was sent.<br />These contacts did not receive the campaign.
Number of messaged contacts
Mainstay IDs of contacts targeted by campaign
Number of contacts who responded to the campaign
Changes
No recorded changes to this operation across all 1 revision of this API.