Skip to main content
POST
Example subscription
The webhook is sent once sufficient data has been retrieved from a connected payroll account. It is also sent after an account reconnection once all new data has been retrieved.
This webhook 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.ready webhook payload to determine when to generate a report.
Sent when reports can be or have been generated.

Authorizations

Authorization
string
header
required

Username = api_key_id, Password = api_key_secret

Body

application/json
events
string[]
required

reports.ready

Example:
name
string
required

Your name for the webhook subscription.

Example:

"My Webhook"

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. Argyle handles URL encoding for webhook URLs. Send the URL in its normal, unencoded form.

Example:

"https://your-webhook-backend.com"

secret
string

Optional secret used to verify webhooks.

Example:

"your-secret-key"

Response

200 - application/json

Success

event
string

reports.ready

Example:

"reports.ready"

name
string

Name used for the webhook subscription.

Example:

"My Webhook"

data
object