Background jobs
Email, PDF, sync and recurring work the server does later.
Paths are relative to https://evenbooks.org/api/v1. How keys, errors, paging and versions work is in the guide; the whole reference is also an OpenAPI 3.1 document.
Administrator key marks endpoints that need a key with the admin role, Write access those a read-only key can’t call, and Idempotent those that accept an idempotency key.
Get background job status
/jobs/statusWork the server does later for this company: queue counts, the 50 latest failed jobs (with their error message and whether they can be retried), events not yet dispatched, bank connections that stopped syncing, emails that failed or bounced, online payment events that failed, and when the worker last ran.
Response 200
JobStatusDto
queuesarray of objectShow 6 fields of each item
namestringcreatednumberactivenumberretrynumberfailednumbercompletednumber
failedJobsarray of objectShow 9 fields of each item
idstringnamestringcreatedOnstringcompletedOnstring or nullretryCountnumberoutputanydataanyretryablebooleanretryFailedJobRetryDto or null
outboxPendingnumberoutboxOldestAgeSecondsnumber or nullstaleConnectionsarray of objectShow 4 fields of each item
idstringnamestringlastSuccessAtstring or nulllastErrorstring or null
emailProblemsarray of objectShow 6 fields of each item
idstringinvoiceIdstring or nulltoEmailstringstatusstringlastErrorstring or nullqueuedAtstring
workerHeartbeatAtstring or nullprocessorEventProblemsarray of ProcessorEventProblemDto
Errors 400 · 401 · 403 · 404 · 409 · 429
Schemas
The types these endpoints take or return, by name. Type names above link here.
FailedJobRetryDto
requestedAtstringdispatchedAtstring or null
ProcessorEventProblemDto
idnumbereventTypestringreceivedAtstringattemptsnumberlastErrorstring or null