Test Devices API

List of methods for working with test devices

createTestDevice

Registers a test device for the application.

POST https://api.pushwoosh.com/json/1.3/createTestDevice

Registers a test device for the application.

Request Body

{
   "status_code":200,
   "status_message":"OK",
   "response": null
}

For Custom Plan subscriptions only. For more details, please contact our Sales team.

Example
{
  "request": {
    "application": "XXXXX-XXXXX", // required, Pushwoosh application code
    "push_token": "DEVICE_PUSH_TOKEN", // required
    "device_type": 1, // required, refer to /registerDevice for device types
    "name": "TEST_DEVICE_1", // required, test device name
    "description": "android test device" // optional, test device description
  }
}

listTestDevices

Returns all the test devices for the specific application.

POST https://api.pushwoosh.com/json/1.3/listTestDevices

Returns all the test devices for the specific application.

Request Body

{
 "status_code": 200,
 "status_message": "OK",
 "response": {
 "TestDevices": [
  {
    "name": "iosDevice",
    "type": "1",
    "pushtoken": "token",
    "description": "ios device"
 }
} 

For Custom Plan subscriptions only. For more details, please contact our Sales team.

Example
  {
     "request":{
       "auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
       "application" : "XXXXX-XXXXX" // required, Pushwoosh application code    
     }
  }

For device types see /registerDevice.

Last updated