Cron job endpoint
Firefly III has one endpoint for its various cron related tasks. Send a GET to this endpoint to run the cron. The cron requires the CLI token to be present. The cron job will fire for all users.
Parameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
cliTokenstringrequiredpathThe CLI token of any user in Firefly III, required to run the cron job. OR this is the STATIC_CRON_TOKEN.
datestring<date>queryA date formatted YYYY-MM-DD. This can be used to make the cron job pretend it's running on another day.
forcebooleanqueryForces the cron job to fire, regardless of whether it has fired before. This may result in double transactions or weird budgets, so be careful. Only system owners can do this.
Response
The result of the cron job(s) firing.
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
