TokenLab

Management

Send a test webhook

Requires a workspace Management Token (mt-...), created at Dashboard > API > Management Tokens. Send Authorization: Bearer mt-.... Inference API keys (sk-...) and webhook signing secrets (whsec_...) are not accepted. Only the token workspace is accessible. Sends webhook.test through the same signed delivery path. HTTP 200 reports a persisted attempt; inspect outcome and http_status to determine receiver success. Resume a paused endpoint before testing.

POSThttps://api.tokenlab.sh/v1/management/webhooks/{webhookId}/test

Use a workspace Management Token (mt-...), not an inference API key (sk-...) or signing secret (whsec_...). Create one at Dashboard → API → Management Tokens and send Authorization: Bearer mt-.... Access is scoped to that workspace.

See Webhook management API guide for events, verification, retries and troubleshooting.

curl -X POST "https://example.com/v1/management/webhooks/string/test"
{  "id": "string",  "webhook_id": "string",  "delivery_id": "string",  "event_type": "string",  "outcome": "delivered",  "http_status": 0,  "attempts": 0,  "delivered_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}

Authorization

ManagementTokenAuth
AuthorizationBearer <token>

Management token authentication. Create or manage Management Tokens in Dashboard > API > Management Tokens.

In: header

Path Parameters

webhookId*string
Length1 <= length <= 128

Response

application/json

application/json

application/json

application/json

application/json

application/json