Sluby
REST APIWebhooks

Send a signed `webhook.test` event to the endpoint now.

Delivered once, signed like any event, and recorded with the deliveries. Answers how the receiver responded: `delivered`, `status_code` (null when no response came) and `error` (why it failed, in our words).

POST
/api/v1/webhooks/{id}/test

Delivered once, signed like any event, and recorded with the deliveries. Answers how the receiver responded: delivered, status_code (null when no response came) and error (why it failed, in our words).

Authorization

bearerAuth
headerAuthorizationBearer <token>

A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.

Path Parameters

id*string

Endpoint id.

Response Body

The outcome.

application/json
  1. response
delivered*boolean
status_code*integer|null
error*string|null
Example Request
curl -X POST 'https://sluby.example.com/api/v1/webhooks/string/test'
Example Response
{  "delivered": true,  "status_code": 0,  "error": "string"}