This endpoint returns a list of campaigns available for customers to participate in. If you provide a particular customer we can return their current status and eligibility on each of the campaigns.
Campaign Parameters Response
Parameters | Type | Description |
---|---|---|
| int | Unique campaign id |
| string | Campaign headline/One-liner |
| string | Information on how to complete the campaign. |
| string | One of the various campaign types, such as: |
| string | The text found on the button to participate in the campaign e.g. “Tweet”, “Follow”, etc. |
| string | Message to be shared on social media, used in the |
| string | Campaign dependent. Sometimes a destination to link to from call-to-action button, for |
| string | Campaign dependent. For |
| string | Campaign dependent. For |
| string | Image used for campaign. If it’s a URL, then it’s an image. Otherwise, it’s a Font Awesome class name. |
| string | Describes what the customer gets for completing (e.g. “500 Points”). |
| datetime | Timestamp indicating when this campaign was created. |
| datetime | Timestamp reflecting the last update to this campaign. |
| int | The maximum number of times a single customer can complete this campaign. |
| int | The number of actions (for punch card style campaigns) that are required for the campaign to be completed. |
| datetime | Time stamp indicating the end date and time set for scheduled campaigns. |
Status Parameters Response
Parameters | Type | Description |
---|---|---|
| int | Number of times this campaign can be completed globally (for all customers in total). |
| int | Number of actions the customer has performed towards this campaign. |
| int | Number of times the customer has already completed this campaign. |
| int | The number of minutes the customer must wait until they can complete take another action towards completing this campaign. |
| int | Number of minutes the customer must wait until they are eligible to complete this campaign again. |