Applications API
API methods to manage apps

createApplication

post
https://cp.pushwoosh.com/json/1.3
/createApplication
/createApplication
For Private Offering subscriptions only.
Example
{
"request": {
"auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
"icon": "iVBORw0KGgoAAAANSUhEUgAAAH0AAACVCAIAAAD6...", // optional, Base-64 encoded binary content of png file
"authorize_all_tokens" : true, // or 'false', optional. If true, allows all api tokens to communicate with this app
"sdk_ios": "pw", // optional. Possible values are “pw” or “corona”
"sdk_android": "pw", // optional. Possible values are “pw”, “corona”, or “phonegap”
"title": "APP_TITLE" // required. Title for the new app in Pushwoosh
}
}

updateApplication

post
https://cp.pushwoosh.com/json/1.3
/updateApplication
/updateApplication
For Private Offering subscriptions only.
Example
{
"request": {
"auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
"application": "XXXXX-XXXXX", // required, application code of the app you want to update
"icon": "iVBORw0KGgoAAAANSUhEUgAAAH0AAACVCAIAAAD6...", // optional. Base-64 encoded binary content of png file
"sdk_ios": "pw", // optional. Possible values are “pw” or “corona”
"sdk_android": "pw", // optional. Possible values are “pw”, “corona”, or “phonegap”
"title": "APP_TITLE" // optional. New title for the app in Pushwoosh
}
}

deleteApplication

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

getApplication

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

getApplications

post
https://cp.pushwoosh.com/json/1.3
/getApplications
/getApplications
For Private Offering subscriptions only.
{
"request": {
"auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
"page": 2 // optional, the page number for pagination
}
}

getApplicationFile

post
https://cp.pushwoosh.com/json/1.3
/getApplicationFile
/getApplicationFile
For Private Offering subscriptions only.
Example
{
"request": {
"auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
"application": "XXXXX-XXXXX", // required, Pushwoosh application code
"file": "ios_auto_privatekey" // required, identifier of the file to retrieve. See values below
}
}
Possible values for the "file" parameter: "ios_auto_privatekey" | "ios_manual_privatekey" | "ios_auto_certificate" | "ios_manual_certificate" | "ios_push_certificate" | "ios_provisioning_profile" | "macos_manual_privatekey" | "macos_manual_certificate" | "macos_push_certificate" | "safari_manual_privatekey" | "safari_push_certificate" | "safari_push_package", | "wp7_cert", "wp7_key", "wp7_ca"
Response example:
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----

setApplicationPlatformStatus

post
https://cp.pushwoosh.com/json/1.3
/setApplicationPlatformStatus
/setApplicationPlatformStatus
For Private Offering subscriptions only.
Example
{
"request": {
"application": "XXXXX-XXXXX", // required, Pushwoosh application code
"auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
"platform": 1, // required. 1 — iOS; 3 — Android; 5 — Windows Phone; 7 — OS X; 8 — Windows 8; 9 — Amazon; 10 — Safari; 11 — Chrome; 12 — Firefox
"status": "disable" // or "enable", required
}
}
Copy link
On this page
createApplication
post
/createApplication
updateApplication
post
/updateApplication
deleteApplication
post
/deleteApplication
getApplication
post
/getApplication
getApplications
post
/getApplications
getApplicationFile
post
/getApplicationFile
setApplicationPlatformStatus
post
/setApplicationPlatformStatus