Create a webhook
Webhooks
Create a webhook
The endpoint creates a webhook.
POST
Create a webhook
Authorizations
Client ID
Client Access Key
Body
application/json
Public name for this webhook config.
Maximum string length:
128Webhook URL where event data will be sent.
Maximum string length:
2048Example:
"http://example.com/"
Type of environment.
Available options:
sandbox, dev, prod Example:
"dev"
List of events sent to this webhook URL.
Available options:
task-status-updated, order-status-updated, order-created, link-connected, link-disconnected, order-refresh-failed, link-deleted, employment-created, employment-updated, profile-created, profile-updated, statements-created, statements-updated, shifts-created, shifts-updated, bank-accounts-created, bank-accounts-updated Example:
[
"task-status-updated",
"order-status-updated"
]Response
Unique identifier of the webhook.
Maximum string length:
32Example:
"48427a36d43c4d5aa6324bc06c692456"
Public name for this webhook config.
Maximum string length:
128Webhook URL where event data will be sent.
Maximum string length:
2048Example:
"http://example.com/"
List of events sent to this webhook URL.
Available options:
task-status-updated, order-status-updated, order-created, link-connected, link-disconnected, order-refresh-failed, link-deleted, employment-created, employment-updated, profile-created, profile-updated, statements-created, statements-updated, shifts-created, shifts-updated, bank-accounts-created, bank-accounts-updated Example:
[
"task-status-updated",
"order-status-updated"
]Type of environment.
Available options:
sandbox, dev, prod Example:
"dev"
Timestamp when the webhook was created.
Example:
"2022-05-04T11:30:00.000Z"
Timestamp when the webhook was updated last time.
Example:
"2022-05-04T12:00:00.000Z"