Diska
Webhooks

Delete a webhook endpoint

Removes the endpoint and returns it as it was.
DELETE https://api.diska.ai/v1/webhook-endpoints/{endpoint_id}

Scope: webhooks:manage

Deliveries stop at once.

Parameters

Path

NameTypeRequiredDescription
endpoint_idstringYesThe endpoint's ID.

Examples

curl -X DELETE "https://api.diska.ai/v1/webhook-endpoints/<endpoint_id>" \
  -H "Authorization: Bearer $DISKA_API_KEY"

Try it

Send the request from this page, with your key. The key stays on this page: it is not stored and is only sent to api.diska.ai. Use a test key with the fewest scopes you need.

DELETEhttps://api.diska.ai/v1/webhook-endpoints/{endpoint_id}
Starts with dsk_. It stays in this browser tab only.
path
Enter an API key (dsk_…).

Response 200

FieldTypeDescription
idstringEndpoint ID.
urlstringDelivery destination.
descriptionstring | nullDescription.
eventsarraySubscribed events.
activebooleanfalse when disabled (by you or automatically). Default: true.
disabled_reasonstring | nullWhy it was disabled automatically, or null.
failure_countintegerConsecutive failed deliveries. Default: 0.
last_delivery_atstring | nullLast delivery.
last_delivery_statusstring | nullResult of the last delivery, for example delivered (200).
secret_previewstringStart and end of the secret, to identify it.
created_atstring | nullCreation date (ISO 8601).
{
  "id": "e7a1c3f5-9b2d-4f6e-8a0c-3d5f7b9e1c24",
  "url": "https://o-seu-sistema.com/hooks/diska",
  "description": "CRM — produção",
  "events": [
    "call.completed"
  ],
  "active": true,
  "disabled_reason": null,
  "failure_count": 0,
  "last_delivery_at": "2026-10-25T18:40:00Z",
  "last_delivery_status": "delivered (200)",
  "secret_preview": "dskw_AbC…wXyZ",
  "created_at": "2026-10-25T18:40:00Z"
}

Errors

CodeWhen
404Endpoint não encontrado. (endpoint not found).

Errors common to every endpoint (401, 403, 422, 429 and 5xx) are in Errors.

Copyright © 2026