Yes, try this API end points
curl --include \
--header "Authorization: Basic YOUR_REST_API_KEY" \
"https://onesignal.com/api/v1/notifications?app_id=YOUR_APP_ID"
sample output
200 OK
Sample output
{
"total_count": 553,
"offset": 0,
"limit": 1,
"notifications": [
{
...
"app_id": "3beb3078-e0f1-4629-af17-fde833b9f716",
...
"chrome_web_icon": "https://img.onesignal.com/t/73b9b966-f19e-4410-8b5d-51ebdef4652e.png",
...
"ios_interruption_level":"active",
"ios_relevance_score": 0.0,
"name": "Campaign: New Shoe Releases",
"contents": {
"en": "Come by and check out our new Jordan's!!! (Shoes) 🎃🙊👻"
},
"converted": 0,
"data": {
"your_data_key": "your_data_value"
},
...,
"errored": 1,
"excluded_segments": [
"3 Days Inactive"
],
"failed": 0,
...
"headings": {
"en": "Thomas' Greatest Site in the World!! 😜😁"
},
"id": "e664a747-324c-406a-bafb-ab51db71c960",
...
"included_segments": [
"all"
],
...
"queued_at": 1557946677,
"remaining": 0,
"send_after": 1557946620,
"completed_at": 1557946677,
"successful": 386,
...
"url": "https://mysite.com",
...
"platform_delivery_stats": {
"edge_web_push": {
"successful": 2,
"failed": 0,
"errored": 0,
"converted": 2,
"received": 2
},
"chrome_web_push": {
"successful": 26,
"failed": 0,
"errored": 0,
"converted": 26,
"received": 26
},
"firefox_web_push": {
"successful": 1,
"failed": 0,
"errored": 0,
"converted": 1,
"received": 1
},
"android": {
"successful": 198,
"errored": 1,
"failed": 0,
"converted": 198,
"received": 198
},
"safari_web_push": {
"successful": 3,
"failed": 0,
"errored": 0,
"converted": 3,
"received": 3
},
"ios": {
"successful": 2,
"errored": 3,
"failed": 0,
"converted": 2,
"received": 2
}
},
"ios_attachments": {
"id": "https://img.onesignal.com/n/44843933-68d4-450c-af5c-5e5c1a9d946e.jpg"
}
}
]
}