Campaign List
List your organization's Campaigns
Request
- Base URL: https://api.mainstay.com
- URL: https://api.mainstay.com/campaigns/
- Auth: API key in header Authorization
Query parameters
Return all campaigns since this date. <br />Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Return all campaigns before this date.<br />Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Return all campaigns with scripts matching this AdmitHub campaign script id. <br />Can be found in the URL when viewing a campaign script in Mascot<br />https://mascot.admithub.com/campaign-scripts/campaign-script-id
Return all campaigns that match this status.<br />Possible values: <code>scheduled</code>, <code>started</code>, <code>completed</code>
Return all campaigns scheduled by a Mascot admin with this AdmitHub user ID.
If <u>true</u>, show campaigns hidden from the Mascot calendar. Otherwise, these campaigns are excluded from results.<ul><li>Possible true values: True, true, 1</li><li>Possible false values: False, false, 0</li><li>Default value: False</li><ul>
If <u>true</u>, show campaign tests. Otherwise, these campaigns are excluded from results.<ul><li>Possible true values: True, true, 1</li><li>Possible false values: False, false, 0</li><li>Default value: False</li><ul>
Return all campaigns for which a contact with the provided CRM ID was a recipient. <br />By default, only complete, non-test, non-hidden campaigns will be returned.
Return all campaigns for which a contact with the provided AdmitHub ID was a recipient. <br />By default, only complete, non-test, non-hidden campaigns will be returned.
A page number within the paginated result set.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.