POST
/webhook_endpoints/{webhook_endpoint_id}/testTest Webhook Endpoint
Sends a sample event to a webhook endpoint for the authenticated project.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
webhook_endpoint_idstringrequired
The ID of the webhook endpoint to test.
event_typestringrequired
The event type to send as a sample delivery.
200Success
objectstringrequired
The object type, which is always webhook_endpoint.test.
webhook_endpoint_idstringrequired
The ID of the webhook endpoint that received the test.
event_typestringrequired
The event type sent in the test.
status_codeintegerrequired
The HTTP status code returned by the endpoint.
successbooleanrequired
Whether the test request completed. Always true for returned results; use status_code to determine the endpoint response.
400The request parameters are invalid.
errorobjectrequired
404The webhook endpoint was not found in the authenticated project.
errorobjectrequired
500The sample event could not be sent to the webhook endpoint.
errorobjectrequired
Error handling
A 400 is returned: The request parameters are invalid. A 404 is returned: The webhook endpoint was not found in the authenticated project. A 500 is returned: The sample event could not be sent to the webhook endpoint.