Webhooks
Send Test Event
Changed onSends a sample payload for the given event to the webhook's URL and returns the delivery result.
post/webhooks/{id}/test
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/webhooks/{id}/test
- Auth: HTTP bearer
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"event": "payment.succeeded"
}Response
test event sent
Example response
{
"body": "OK",
"status": 200,
"success": true
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info