Lucius API
Webhooks

Send a test event

Sends a signed sample event to this endpoint and waits for the result.

POST
/v1/webhook-endpoints/{id}/test

Authorization

AuthorizationBearer <token>

API key as Bearer token: Authorization: Bearer luc_live_.... Create keys in the dashboard under Settings > API Keys.

In: header

Path Parameters

id*string

Webhook endpoint ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/webhook-endpoints/string/test" \  -H "Content-Type: application/json" \  -d '{    "type": "contract.created"  }'
{  "id": "5d2b1a90-7c3e-4f8a-b6d1-0e9f8a7b6c5d",  "status": "succeeded",  "status_code": 200,  "error": null}

{  "error": "Missing API key"}

{  "error": "Not found"}