Skip to Content
CallMitraDocs
Errors

webhook_endpoint_not_found

Webhook endpoint not found.

HTTP statusTypeCode
404not_found_errorwebhook_endpoint_not_found

What it means

No webhook endpoint with this id exists in your workspace, or it was deleted. List endpoints with GET /webhook-endpoints and use one of the returned ids.

How to handle it

Check the ID in the path. It may be wrong, deleted, or belong to another workspace; the API answers 404 rather than revealing other workspaces’ data.

Example response

{
  "detail": "Webhook endpoint not found.",
  "error": {
    "type": "not_found_error",
    "code": "webhook_endpoint_not_found",
    "message": "Webhook endpoint not found.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/webhook_endpoint_not_found",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.

Returned by

  • DELETE /api/v1/webhook-endpoints/{endpoint_id} — Delete a webhook endpoint
  • GET /api/v1/webhook-endpoints/{endpoint_id} — Get a webhook endpoint
  • GET /api/v1/webhook-deliveries/ — List webhook deliveries
  • POST /api/v1/webhook-endpoints/{endpoint_id}/rotate-secret — Rotate an endpoint's signing secret
  • POST /api/v1/webhook-endpoints/{endpoint_id}/test — Send a test event
  • PATCH /api/v1/webhook-endpoints/{endpoint_id} — Update a webhook endpoint

On this page