https://areamembri.it/campaigns/get_actions.json
Retrieves the basic information for actions associated with one specific campaign.
Parameters:
api_user | The provided API User credential for your account. |
api_key | The provided API Key credential for your account. |
business_id
(optional) |
The project ID you want to query in. If not specified, the account will be used. |
campaign_id | The campaign ID for which you want to retrieve the actions. |
Return:
An array of action objects, each one containing, at least:
- action_id: the action unique identifier.
- active: if the action is active or not.
- campaign_id: the campaign ID the action belongs to.
- position: the order of execution for the action inside the campaign.
- action_type: the kind of action. An action can be of one among multiple types, some of them are:
- EmailAction: followup, this action sends an email to the subscribed user.
- CustomEmailAction: custom notification, this action sends an email to a custom recipient list.
- AddToCampaignAction: copy to another campaign. This action subscribes the user to another specified campaign.
- RemoveFromCampaignAction: removes the user from another campaign, if subscribed.
- HttpPostAction: sends a custom HTTP post call to an URL, with a defined list of query parameters.
- GrantPageVisibilityAction: grants the user access to a specific protected page.
- DenyPageVisibilityAction: removes the user access to a specific protected page.