List a push notification's deliveries
Lists the deliveries of a push notification, one per device, oldest first, optionally only those with one status (such as failed).
Guide: Push notifications
A project secret key: vh_sk_... for production, vh_sk_test_... for test. Keep it on your servers.
In: header
Path parameters
The project's id, proj_.... A secret key works only in the project it belongs to.
The push notification's id, push_send_....
Query parameters
Where the page starts: the pageInfo.endCursor of the previous page. Omit it for the first page.
How many items to return, from 1 to 100. Defaults to 50.
1 <= value <= 100Only deliveries in this state, such as failed or exhausted.
Value in
- "pending"
- "in_progress"
- "succeeded"
- "failed"
- "exhausted"
Examples
curl -X GET "https://api.voidhash.com/api/v1/projects/proj_tz4a98xxat96iws9zmbrgj3a/push-notifications/push_send_r2t6y0u4i8o1p5a9s3d7f1g5/deliveries" \ -H "Authorization: Bearer vh_sk_..."{ "data": [ { "id": "push_del_f5g9h3j7k1l4z8x2c6v0b4n8", "personId": "person_h7d2k9m4x1c6v8b3n5q0w2e7", "provider": "apns", "status": "succeeded", "attemptCount": 1, "maxAttempts": 5, "nextAttemptAt": null, "completedAt": "2026-03-14T18:00:02.000Z", "lastError": null, "providerMessageId": "8F2E6B1C-4D7A-4E09-9C35-1A2B3C4D5E6F", "createdAt": "2026-03-14T18:00:00.000Z" }, { "id": "push_del_k1l4z8x2c6v0b4n8f5g9h3j7", "personId": "person_h7d2k9m4x1c6v8b3n5q0w2e7", "provider": "fcm", "status": "succeeded", "attemptCount": 1, "maxAttempts": 5, "nextAttemptAt": null, "completedAt": "2026-03-14T18:00:03.000Z", "lastError": null, "providerMessageId": "projects/acme-fitness/messages/0:1710439203%31bd1c9631bd1c96", "createdAt": "2026-03-14T18:00:00.000Z" } ], "pageInfo": { "endCursor": null, "hasNextPage": false }}{ "error": { "type": "invalid_request", "code": "invalid_query", "message": "The request query is invalid: Expected a finite number\n at [\"limit\"]" }}{ "error": { "type": "unauthenticated", "code": "invalid_api_key", "message": "This secret key is not valid." }}{ "error": { "type": "permission_denied", "code": "permission_denied", "message": "Insufficient permissions." }}{ "error": { "type": "not_found", "code": "push_notification_not_found", "message": "This project has no such push notification.", "param": "pushNotificationId" }}{ "error": { "type": "internal", "code": "internal_error", "message": "Something went wrong on our side. Try again, and contact support with the Request-Id header if it keeps failing." }}Response body
application/json
application/json
application/json
application/json
application/json
application/json
Errors
| Status | type | code | When |
|---|---|---|---|
| 404 | not_found | push_notification_not_found | — |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Push notifications
Something wrong or missing on this page? Tell us by email or on Discord.