Push Notifications
List Subscriptions
REST API
- Overview
- Limits
- Errors
- GETGet Account Settings
- Authentication
- Users
- Chat
- Content
- Push Notifications
- Custom Objects
- Address Book
- AI
Push Notifications
List Subscriptions
Retrieve subscriptions for the device that is specified in the authorization token.
GET
/
subscriptions.json
curl -X GET \
-H "QB-Token: 93d9dd94876d71dd39b56452cf28d80555012bba" \
https://api.quickblox.com/subscriptions.json
[
{
"subscription": {
"id": 59715257,
"device": {
"udid": "2343af3433aa3a4fsv",
"client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
"platform": {
"name": "ios"
},
"bundle_identifier": "com.quickblox.myawesomeapp"
},
"notification_channel": {
"name": "apns"
}
}
},
{
"subscription": {
"id": 59715699,
"device": {
"udid": "111111",
"client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
"platform": {
"name": "ios"
},
"bundle_identifier": "test.app"
},
"notification_channel": {
"name": "apns"
}
}
},
{
"subscription": {
"id": 59725669,
"device": {
"udid": "111111",
"client_identification_sequence": "cw_edFOFLQc:APA91bGAeEwM0OddqErs-iD-s1ayCxzlF6HDwzzsZ6PYNJdHIRs0hkikNwFWAY1ImcHcO2Hy89kNyU4bB_TsvFwLGz2pPK05mIRe1bGOTvTNE5i6k0NUDuEIdF6FeQQvXUzVwLr52uk-",
"platform": {
"name": "android"
},
"bundle_identifier": "test.app"
},
"notification_channel": {
"name": "gcm"
}
}
},
{
"subscription": {
"id": 59725685,
"device": {
"udid": null,
"client_identification_sequence": null,
"platform": {
"name": null
},
"bundle_identifier": null
},
"notification_channel": {
"name": "email"
}
}
}
]
Headers
A user or application session token. See our Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
Responses
An error response
curl -X GET \
-H "QB-Token: 93d9dd94876d71dd39b56452cf28d80555012bba" \
https://api.quickblox.com/subscriptions.json
[
{
"subscription": {
"id": 59715257,
"device": {
"udid": "2343af3433aa3a4fsv",
"client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
"platform": {
"name": "ios"
},
"bundle_identifier": "com.quickblox.myawesomeapp"
},
"notification_channel": {
"name": "apns"
}
}
},
{
"subscription": {
"id": 59715699,
"device": {
"udid": "111111",
"client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
"platform": {
"name": "ios"
},
"bundle_identifier": "test.app"
},
"notification_channel": {
"name": "apns"
}
}
},
{
"subscription": {
"id": 59725669,
"device": {
"udid": "111111",
"client_identification_sequence": "cw_edFOFLQc:APA91bGAeEwM0OddqErs-iD-s1ayCxzlF6HDwzzsZ6PYNJdHIRs0hkikNwFWAY1ImcHcO2Hy89kNyU4bB_TsvFwLGz2pPK05mIRe1bGOTvTNE5i6k0NUDuEIdF6FeQQvXUzVwLr52uk-",
"platform": {
"name": "android"
},
"bundle_identifier": "test.app"
},
"notification_channel": {
"name": "gcm"
}
}
},
{
"subscription": {
"id": 59725685,
"device": {
"udid": null,
"client_identification_sequence": null,
"platform": {
"name": null
},
"bundle_identifier": null
},
"notification_channel": {
"name": "email"
}
}
}
]
Was this page helpful?
curl -X GET \
-H "QB-Token: 93d9dd94876d71dd39b56452cf28d80555012bba" \
https://api.quickblox.com/subscriptions.json
[
{
"subscription": {
"id": 59715257,
"device": {
"udid": "2343af3433aa3a4fsv",
"client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
"platform": {
"name": "ios"
},
"bundle_identifier": "com.quickblox.myawesomeapp"
},
"notification_channel": {
"name": "apns"
}
}
},
{
"subscription": {
"id": 59715699,
"device": {
"udid": "111111",
"client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
"platform": {
"name": "ios"
},
"bundle_identifier": "test.app"
},
"notification_channel": {
"name": "apns"
}
}
},
{
"subscription": {
"id": 59725669,
"device": {
"udid": "111111",
"client_identification_sequence": "cw_edFOFLQc:APA91bGAeEwM0OddqErs-iD-s1ayCxzlF6HDwzzsZ6PYNJdHIRs0hkikNwFWAY1ImcHcO2Hy89kNyU4bB_TsvFwLGz2pPK05mIRe1bGOTvTNE5i6k0NUDuEIdF6FeQQvXUzVwLr52uk-",
"platform": {
"name": "android"
},
"bundle_identifier": "test.app"
},
"notification_channel": {
"name": "gcm"
}
}
},
{
"subscription": {
"id": 59725685,
"device": {
"udid": null,
"client_identification_sequence": null,
"platform": {
"name": null
},
"bundle_identifier": null
},
"notification_channel": {
"name": "email"
}
}
}
]