Skip to main content

Add Webhook Endpoint

This method allows a user to add a webhook endpoint.

Header Parameters
TZ

The timezone header is optional. If provided, the header value will be applied to the API response's date and time fields. If the timezone header is not included, the default UTC timezone will be used and returned to the response.

Request Body REQUIRED
id int64
url string
enabledEvents object[]
webhookEventType string
secret string
dateEventCountMap object
status string
createdAt date-time
Responses
200

OK

Schema OPTIONAL
id int64 OPTIONAL
url string OPTIONAL
enabledEvents object[] OPTIONAL
webhookEventType string OPTIONAL
secret string OPTIONAL
dateEventCountMap object OPTIONAL
status string OPTIONAL
createdAt date-time OPTIONAL