Ready
POST/v2/webhooks
The reports.ready webhook is sent when a verification report can be generated once sufficient data has been retrieved from a connected payroll account.
The reports.ready webhook is also sent after an account reconnection once all new data has been retrieved.
This webhooks may be sent multiple times if the user connects multiple accounts.
- The accounts.connected and accounts.failed webhooks can be used to track multiple account connections.
- Compare them to the accounts listed in the
reports.readywebhook payload to determine when to generate a report.
Request body
events(array of strings, required):reports.readyname(string, required): Your name for the webhook subscription.url(string, required): Where you want to receive webhook delivery. This can be either a backend URL that you manage, or a URL provided by a webhook management service.secret(string, optional): Optional secret used to verify webhooks.
Webhook message
event(string):reports.readyname(string): Name used for the webhook subscription.data(object)user(string (uuid)): ID of the user.external_id(string): Theexternal_idof the user, otherwisenull.accounts(array of objects)id(string (uuid)): ID of the account.last_synced_at(string (datetime)): Timestamp (ISO 8601) when the account was last scanned for new data.
- curl
- python
Generated
POST/v2/webhooks
The reports.generated webhook is sent when a report has been successfully generated and can be retrieved.
Request body
events(array of strings, required):reports.generatedname(string, required): Your name for the webhook subscription.url(string, required): Where you want to receive webhook delivery. This can be either a backend URL that you manage, or a URL provided by a webhook management service.secret(string, optional): Optional secret used to verify webhooks.
Webhook message
event(string):reports.generatedname(string): Name used for the webhook subscription.data(object)user(string (uuid)): ID of the user.type(string (enum)): The type of report.report_id(string (uuid)): ID of the report.
- curl
- python