Verify webhook subscription Run in API Explorer
Ask AI
Sends a webhook.verification challenge to the subscription targetUrl. The callback must return any 2xx response. Verification challenges use the same signed callback header contract as deliveries. Unverified subscriptions can retry this endpoint after the verification cooldown. Verified subscriptions return their current details.
Headers
-
Public API key issued from the Lumetrade API key management flow.
-
API secret paired with the public API key.
POST
/api/v1/webhooks/subscriptions/{subscriptionId}/verify
curl \
--request POST 'https://api.staging.lumetrade.com/api/v1/webhooks/subscriptions/whsub_5e737a5abaee46568bd8d530b9b3521a/verify' \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string"
Response examples (200)
{
"id": "whsub_5e737a5abaee46568bd8d530b9b3521a",
"name": "Ops webhook alerts",
"targetUrl": "https://example.com/webhooks",
"status": "PENDING_VERIFICATION",
"events": [
{
"eventType": "deposit.completed",
"resourceType": "deposit",
"event": "completed",
"displayName": "Deposit completed",
"description": "Deposit has completed."
}
],
"verifiedAt": "2026-06-12T15:03:23Z",
"createdAt": "2026-06-12T15:01:00Z",
"updatedAt": "2026-06-12T15:03:23Z"
}
Response examples (400)
{
"httpStatus": 400,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 400,
"message": "Request validation failed",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (404)
{
"httpStatus": 404,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 404,
"message": "Resource was not found for the authenticated API key owner",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (429)
{
"error": "rate_limit_exceeded",
"message": "API rate limit exceeded"
}
Response examples (403)
{
"httpStatus": 403,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 403,
"message": "Authenticated API key is not allowed to perform this action",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (401)
{
"httpStatus": 401,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 401,
"message": "API key authentication failed",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (500)
{
"httpStatus": 500,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 500,
"message": "Unexpected server error",
"requestId": "req_01HY0000000000000000000000"
}