POST
/v2/projects/{projectId}/webhook-configs/{id}/testTest a webhook configuration
Triggers a test request to a webhook configuration in a project. Use the projectId and configuration id path values to select the webhook to test. The response reports whether the test request succeeded.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
idintegerrequired
The numeric identifier of the webhook configuration to test.
projectIdintegerrequired
The numeric identifier of the project that owns the webhook configuration.
200Returns a `success` boolean indicating whether the test request succeeded.
successbooleanrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to test the webhook configuration.
codestringrequired
paramsarray<object>optional
404Returned when the project or webhook configuration does not exist.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates the request is unauthenticated, and a 403 indicates the authenticated user lacks permission to test the configuration. A 404 indicates that the projectId or id does not identify an existing project webhook configuration.