curl -X PUT https://api.classet.ai/v2/webhooks \
-H "X-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"event_webhook_url": "https://your-server.com/webhooks/classet-events",
"results_webhook_url": "https://your-server.com/webhooks/classet-results"
}'
{
"data": {
"event_webhook_url": "https://your-server.com/webhooks/classet-events",
"results_webhook_url": "https://your-server.com/webhooks/classet-results",
"has_signing_secret": true
}
}
Webhooks
Update Webhook Config
Update the webhook URLs for your organization. Existing signing secret is preserved.
PUT
/
v2
/
webhooks
curl -X PUT https://api.classet.ai/v2/webhooks \
-H "X-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"event_webhook_url": "https://your-server.com/webhooks/classet-events",
"results_webhook_url": "https://your-server.com/webhooks/classet-results"
}'
{
"data": {
"event_webhook_url": "https://your-server.com/webhooks/classet-events",
"results_webhook_url": "https://your-server.com/webhooks/classet-results",
"has_signing_secret": true
}
}
Update your organization’s webhook URLs. Set a URL to
null to disable that webhook type.
curl -X PUT https://api.classet.ai/v2/webhooks \
-H "X-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"event_webhook_url": "https://your-server.com/webhooks/classet-events",
"results_webhook_url": "https://your-server.com/webhooks/classet-results"
}'
{
"data": {
"event_webhook_url": "https://your-server.com/webhooks/classet-events",
"results_webhook_url": "https://your-server.com/webhooks/classet-results",
"has_signing_secret": true
}
}
Webhook URLs must use HTTPS and cannot point to internal or private IP addresses (localhost, 10.x.x.x, 192.168.x.x, etc).
Authorizations
Body
application/json
Was this page helpful?