Register Webhook
Register a new webhook endpoint to receive event notifications.
There is a limit of 5 webhooks per account. To prevent potential issues, we recommend registering only one webhook. If you need to delete any extra webhooks, see Delete a webhook.
The secret will be used to verify the event origin. It is important to save this value for future use since it is provided only once.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
The name you want to give to the webhook you are registering.
url
The URL where the webhook events will be sent. Refer to the URL created in Step 1: Create the webhook endpoint.
Response
This endpoint returns an object.
id
Unique identifier for the registered webhook
mode
Operating mode of the webhook
Allowed values:
name
Name of the webhook
secret
Secret key for webhook verification. Important to save this value for future use since it is provided only once.
url
URL where webhook events will be sent