Request Example |
https://pushenvoy.com/app/api/channel_unsubscribe/?device_token=[device_token]&device_type=ios&channel_id=1 |
Authentication |
Send the application access token in the HEADER or POST body for each API request with parameter name `Access_Token` to pass the authentication layer |
Send Type |
Send parameters in POST or GET is available |
Parameters |
device_token |
DescriptionDevice token value get from mobile device API |
Typestring |
RequiredYes |
|
device_type |
DescriptionSupport iOS, Android, Windows Phone 8, BlackBerry 10, Chrome, Safari and Firefox devices |
TypeChoose(ios,android,wp,wp10,bb,chrome,safari,firefox) |
RequiredYes |
|
active |
DescriptionDevice susbcription status |
Typeboolean(1,0) default is 1 |
RequiredNo |
|
channel_id |
DescriptionID of channel to subscribe in |
Typeint |
RequiredYes – in case you do not set `channel_title` parameter |
|
channel_title |
DescriptionTitle of channel |
Typestring |
RequiredYes – in case you do not set `channel_id` parameter |
|
latitude |
Descriptionlatitude point for the device GPS location |
Typestring |
RequiredNo |
|
longitude |
DescriptionLongitude point for the device GPS location |
Typestring |
RequiredNo |
|
Dynamic Info |
DescriptionSend the device information for the preset dynamic info parameters like os_version, device_model, app_version and country etc… |
Type(string) |
RequiredNo |
|
|
Errors |
App exceeded the allowed number of subscribed devices .
Wrong device type value. System does not support this platform
|
Was this article helpful to you?
Yes
No