What happened in the organization, in order (optionally waiting for the next event)
Read by cursor: pass the next_cursor of the previous answer as after. With wait, the call holds until an event arrives or the seconds run out; when they run out it answers data: [] (never an error) with the same cursor, and you call again. This is how a client without a public URL follows an invoice to its outcome. Every event also records who acted, through which credential and, for an update, the previous and the new value of each field that changed.
GET
https://api.invox.page/v1/eventsAuthorization
Query parameters
Header parameters
Returns
200
A page of events (possibly empty) and the cursor to continue from.
400
organization_required: This credential needs to say which organization it acts on · validation_failed: The request is not valid · cursor_invalid: The after cursor is not valid
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
missing_scope: The credential lacks the permission this operation requires · organization_mismatch: The X-Organization header names another organization than the key's
JSON
404
not_found: The resource does not exist in this organization
JSON
429
rate_limited: Too many requests · wait_limit_reached: Too many waiting requests are open with this credential
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON