Connection

Get Webhook

GET
Get details of a connection webhook for 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.

Response

This endpoint returns an object
status
enum
Allowed values: okerror
webhook
any
error
stringOptional
errorMessage
anyOptional
GET
$curl https://api.revert.dev/connection/webhook \
> -H "x-revert-api-token: string" \
> -H "x-api-version: string" \
> -H "x-revert-t-id: string"
Response
1{
2 "status": "ok",
3 "webhook": {},
4 "error": "string",
5 "errorMessage": {}
6}