Test Webhook Endpoint
$ openai webhooks test
POST/webhook_endpoints/{webhook_endpoint_id}/test
Sends a sample event to a webhook endpoint for the authenticated project.
Test Webhook Endpoint
openai webhooks test \
--api-key 'My API Key' \
--webhook-endpoint-id whe_123 \
--event-type batch.completed{
"event_type": "event_type",
"object": "webhook_endpoint.test",
"status_code": 0,
"success": true,
"webhook_endpoint_id": "webhook_endpoint_id"
}Returns Examples
{
"event_type": "event_type",
"object": "webhook_endpoint.test",
"status_code": 0,
"success": true,
"webhook_endpoint_id": "webhook_endpoint_id"
}