Connection

Create Webhook

POST
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.
webhookUrl
stringRequired

Response

This endpoint returns an object
status
enum
Allowed values: okerror
webhookUrl
string
createdAt
string
secret
string
error
stringOptional
errorMessage
anyOptional