Create Webhook

POST
/connection/webhook

Create a webhook endpoint that listens to a connection events of a specific tenant.

Headers

x-revert-api-tokenstringRequired

Your official API key for accessing revert apis.

x-api-versionstringOptional

Optional Revert API version you’re using. If missing we default to the latest version of the API.

x-revert-t-idstringRequired

The unique customer id used when the customer linked their account.

Request

This endpoint expects an object.
webhookUrlstringRequired

Response

This endpoint returns an object.
status"ok" or "error"
Allowed values: okerror
webhookUrlstring
createdAtstring
secretstring
errorstringOptional
errorMessageanyOptional