Update a Webhook
curl --request POST \
--url https://api.whop.com/v2/webhooks/{id} \
--header 'Content-Type: application/json'
{
"created_at": "string",
"enabled": "boolean",
"id": "string",
"url": "string"
}
Headers
Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************
Path Parameters
The ID of the Webhook URL to search by, which will look like hook_*************
, or the URL of the Webhook (e.g. https://website.com/api/whop-webhook)
Body
Whether or not the specified Webhook is enabled/turned on for new event notifications
The URL where new Webhook events will be sent to (e.g. https://website.com/api/whop-webhook)
Response
The time at which the Webhook was created. Measured in seconds since the Unix epoch.
Whether or not the specified Webhook is enabled/turned on for new event notifications
The ID of the Webhook, which will look like hook_*************
The URL where new Webhook events will be sent to (e.g. https://website.com/api/whop-webhook)
curl --request POST \
--url https://api.whop.com/v2/webhooks/{id} \
--header 'Content-Type: application/json'
{
"created_at": "string",
"enabled": "boolean",
"id": "string",
"url": "string"
}