v1

latestOpenAPI 3.0.02026-08-069911.6 KB

Create a webhook configuration

post/api/v2/webhooks

Request body

urlstring uri required

Endpoint to which the webhook will be sent.

Example request

{
  "url": "https://your-api.com/webhooks"
}

Response

Webhook created successfully

idinteger required

Identifier of the webhook configuration.

urlstring uri required

URL registered for the webhook.

secretstring hex required

Secret key used for signing (e.g., in the X-Signature header).

Example response

{
  "id": 1,
  "url": "https://your-api.com/webhooks",
  "secret": "6e5a9465cb8e117cfe63473ba7310ec96898db7c893a967b35cf58d669e47337"
}