Errors
webhook_endpoint_limit_reached
This workspace already has the maximum number of webhook endpoints.
| HTTP status | Type | Code |
|---|---|---|
| 409 | conflict_error | webhook_endpoint_limit_reached |
What it means
A workspace can have up to 20 webhook endpoints. Delete one you no longer use, or subscribe an existing endpoint to more event types.
How to handle it
Fetch the resource again to see its current state, then decide whether to retry.
Example response
{
"detail": "This workspace already has the maximum number of webhook endpoints.",
"error": {
"type": "conflict_error",
"code": "webhook_endpoint_limit_reached",
"message": "This workspace already has the maximum number of webhook endpoints.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/webhook_endpoint_limit_reached",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
POST /api/v1/webhook-endpoints/— Create a webhook endpoint