Events
2 operations. Send Authorization: Bearer $PASSBOOK_KEY. Markdown
The event feed, oldest first. Page with after. Takes the same events webhooks deliver.
passes:readSDK pb.events.list
Query
limitinteger · ≥ 1 · ≤ 200
Returns
200 EventPage
Errors
| Code | Status | Fix |
|---|
| FORBIDDEN | | Use a key with the scope the operation lists, or ask an org admin. |
| INVALID_API_KEY | | Create a new key in the console and update PASSBOOK_KEY. |
| INVALID_CURSOR | | Pass the nextCursor from the previous page unchanged, or drop it to start over. |
| MISSING_SCOPE | | Create a key with the scope the operation lists under security. |
| PASS_NOT_FOUND | | Check the id with GET /api/v1/passes and the key's mode. |
| RATE_LIMITED | | Wait for Retry-After seconds, then retry. Back off on repeats. |
| UNAUTHENTICATED | | Send Authorization: Bearer $PASSBOOK_KEY. |
| VALIDATION | | Fix each field in issues and resend. |
One event by id.
passes:readSDK pb.events.retrieve
Path
idstring · max 64Required
Returns
200 WebhookEvent
Errors
| Code | Status | Fix |
|---|
| FORBIDDEN | | Use a key with the scope the operation lists, or ask an org admin. |
| INVALID_API_KEY | | Create a new key in the console and update PASSBOOK_KEY. |
| INVALID_CURSOR | | Pass the nextCursor from the previous page unchanged, or drop it to start over. |
| MISSING_SCOPE | | Create a key with the scope the operation lists under security. |
| NOT_FOUND | | Check the id, and that the key's mode (test or live) matches the object. |
| PASS_NOT_FOUND | | Check the id with GET /api/v1/passes and the key's mode. |
| RATE_LIMITED | | Wait for Retry-After seconds, then retry. Back off on repeats. |
| UNAUTHENTICATED | | Send Authorization: Bearer $PASSBOOK_KEY. |
| VALIDATION | | Fix each field in issues and resend. |