Campaigns API
API methods to manage Campaigns

createCampaign

post
https://cp.pushwoosh.com/json/1.3
/createCampaign
/createCampaign
For Private Offering subscriptions only.
{
"request": {
"auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
"application": "XXXXX-XXXXX", // required, Pushwoosh application code
"name": "CAMPAIGN_NAME", // required
"description": "CAMPAIGN_DESCRIPTION" // optional
}
}

deleteCampaign

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

getCampaigns

post
https://cp.pushwoosh.com/json/1.3
/getCampaigns
/getCampaigns
Example
{
"request": {
"auth": "jLcRP74KodNa2UW........ztFSOJAQNAB9f5Za", // required, API access token from Pushwoosh Control Panel
"application": "XXXXX-XXXXX", // required, Pushwoosh application code
"cursor": "+4PxJPhhwITD4PFsiKui1BA==", // optional. Indicates the last campaign retrieved in the previous request.
"limit": 100 // optional. The max number of campaigns for a single response.
}
}
Copy link
On this page
createCampaign
post
/createCampaign
deleteCampaign
post
/deleteCampaign
getCampaigns
post
/getCampaigns