Campaigns
API methods to manage Campaigns

createCampaign

post
https://cp.pushwoosh.com/json/1.3
/createCampaign
/createCampaign
For Private Offering subscriptions only.
1
{
2
"request": {
3
"auth": "yxoPUlwqm…………pIyEX4H", // API access token from Pushwoosh Control Panel
4
"application": "XXXXX-XXXXX", // Pushwoosh application code
5
"name": "CAMPAIGN_NAME",
6
"description": "CAMPAIGN_DESCRIPTION"
7
}
8
}
Copied!

deleteCampaign

post
https://cp.pushwoosh.com/json/1.3
/deleteCampaign
/deleteCampaign
For Private Offering subscriptions only.
Example
1
{
2
"request": {
3
"auth": "yxoPUlwqm…………pIyEX4H", // API access token from Pushwoosh Control Panel
4
"campaign": "XXXXX-XXXXX" // ID of a campaign to delete
5
}
6
}
Copied!

getCampaigns

post
https://cp.pushwoosh.com/json/1.3
/getCampaigns
/getCampaigns
Example
1
{
2
"request": {
3
"auth": "jLcRP74KodNa2UW........ztFSOJAQNAB9f5Za", // API access token from Pushwoosh Control Panel
4
"application": "XXXXX-XXXXX", // Pushwoosh application code
5
"cursor": "+4PxJPhhwITD4PFsiKui1BA==", // Indicates the last campaign retrieved in the previous request.
6
"limit": 100 // The max number of campaigns for a single response.
7
}
8
}
Copied!
Last modified 1mo ago