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 URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
id, string required
Webhook ID, prefixed hook_.
Headers
Api-Version-Date, string
Example:2026-11-30
Pins the request to a dated API version.
Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
object required
event, string required
The event to test the webhook for, in dot form (for example payment.succeeded).
Example request
{
"event": "payment.succeeded"
}Response
test event sent
object required
body, string required
The body of the webhook response.
status, integer required
The HTTP response code of this request.
success, boolean required
Whether or not the webhook test was successful.
Example response
{
"body": "OK",
"status": 200,
"success": true
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
error/codeto the response with the status - info
added the optional property
error/codeto the response with the status
2 more changes in this revision
- info