Diska
Webhooks

Test a webhook endpoint

Sends a signed ping event to the endpoint's URL, with the same headers and retry rules as real deliveries.
POST https://api.diska.ai/v1/webhook-endpoints/{endpoint_id}/test

Scope: webhooks:manage

It works even when the endpoint is disabled, and a failed test does not count towards automatic disabling.

Parameters

Path

NameTypeRequiredDescription
endpoint_idstringYesThe endpoint's ID.

Examples

curl -X POST "https://api.diska.ai/v1/webhook-endpoints/<endpoint_id>/test" \
  -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.

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

Response 200

FieldTypeDescription
statusstringdelivered, failed or blocked (the URL now points to an address that is not allowed).
attemptsintegerAttempts made.
http_statusinteger | nullHTTP status your receiver returned.
errorstringWhy it failed, only when status is not delivered.
{
  "status": "delivered",
  "attempts": 1,
  "http_status": 200
}

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