Applications
API methods to manage apps

createApplication

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

updateApplication

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

deleteApplication

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

getApplication

post
https://cp.pushwoosh.com/json/1.3
/getApplication
/getApplication
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
}
6
}
Copied!

getApplications

post
https://cp.pushwoosh.com/json/1.3
/getApplications
/getApplications
For Private Offering subscriptions only.
1
{
2
"request": {
3
"auth": "yxoPUlwqm…………pIyEX4H", // API access token from Pushwoosh Control Panel
4
"page": 2 // The page number for pagination
5
}
6
}
Copied!

getApplicationFile

post
https://cp.pushwoosh.com/json/1.3
/getApplicationFile
/getApplicationFile
For Private Offering subscriptions only.
Example
1
{
2
"request": {
3
"auth": "yxoPUlwqm…………pIyEX4H", // API access token from Pushwoosh Control Panel
4
"application": "XXXXX-XXXXX", // Pushwoosh application code
5
"file": "ios_auto_privatekey" // identifier of the file to retrieve. See values below
6
}
7
}
8
9
Copied!
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:
1
-----BEGIN CERTIFICATE-----
2
...
3
-----END CERTIFICATE-----
4
-----BEGIN RSA PRIVATE KEY-----
5
...
6
-----END RSA PRIVATE KEY-----
Copied!

setApplicationPlatformStatus

post
https://cp.pushwoosh.com/json/1.3
/setApplicationPlatformStatus
/setApplicationPlatformStatus
For Private Offering subscriptions only.
Example
1
{
2
"request": {
3
"application": "XXXXX-XXXXX", // Pushwoosh application code
4
"auth": "yxoPUlwqm…………pIyEX4H", // API access token from Pushwoosh Control Panel
5
"platform": 1, // 1 — iOS; 3 — Android; 5 — Windows Phone; 7 — OS X; 8 — Windows 8; 9 — Amazon; 10 — Safari; 11 — Chrome; 12 — Firefox
6
"status": "disable" // or "enable"
7
}
8
}
Copied!
Last modified 3mo ago