Testing Webhooks

The dashboard can send a test delivery to your endpoint at any time. It is signed and shaped like a real delivery, so you can check your receiver before real articles arrive.


Send a test delivery

  1. Open the webhook at app.finlight.me/news-webhooks.
  2. Press Test at the top of the detail page. The dashboard confirms with "Test request sent".
  3. After a few seconds, refresh the Call History to see the attempt and your server's answer.

A test delivery:

  • is an article.created event with a fixed sample article about NVIDIA earnings,
  • has an eventId that starts with evt_test, so you can tell it apart from real events (the client libraries set isTest for it),
  • has occurredAt set to the time you pressed the button, and subscriptionId set to your webhook id,
  • is signed with your secret and carries the same headers as a real delivery, including your authentication header,
  • uses the payload format of the webhook, v3 or v2.

What the sample contains

The sample contains exactly the blocks you chose for the webhook, and it is not cut by your plan. So you see every block you asked for, even one your plan does not include. Real deliveries are cut by your plan (see Payload). Do not use the test delivery to check what your plan includes.

sentiment is always in the enriched sample.

A raw webhook gets the sample as a skeleton: no sentiment, companies or events, and availableAt is null.

The sample is the same every time, apart from eventId, subscriptionId and the times. Use it to test parsing, not your filters: it is sent whatever your criteria are.

Test delivery (every block chosen)

{
  "eventId": "evt_test0123456789abcdef01",
  "event": "article.created",
  "occurredAt": "2026-11-23T21:04:05.123Z",
  "payloadVersion": 3,
  "subscriptionId": "00000000-0000-4000-8000-00000000c0de",
  "data": {
    "id": "nsS5SyOXPe9MooDs95ZCvW",
    "link": "https://www.reuters.com/test-webhook",
    "source": { "domain": "www.reuters.com", "type": "newswire" },
    "title": "Test Webhook",
    "summary": "Lorem ipsum dolor sit amet",
    "language": "en",
    "media": [],
    "publishedAt": "2026-11-23T21:04:05.123Z",
    "firstSeenAt": "2026-11-23T21:04:05.123Z",
    "revisedAt": null,
    "availableAt": "2026-11-23T21:04:05.123Z",
    "countries": ["US"],
    "categories": ["markets"],
    "sentiment": { "label": "neutral", "confidence": 0.9965 },
    "companies": [
      {
        "companyId": 1,
        "name": "NVIDIA Corporation",
        "isin": "US67066G1040",
        "primaryListing": { "ticker": "NVDA", "mic": "XNAS", "country": "US" },
        "confidence": 0.92,
        "role": "subject",
        "relevance": 0.95
      }
    ],
    "events": [
      {
        "type": "earnings",
        "direction": "positive",
        "importance": "high",
        "confidence": 0.9,
        "companyIds": [1]
      }
    ]
  }
}

The ids in the sample (data.id, companyId) are fixed sample values. Do not store them as real data.


Limits

  • You can send at most 10 test deliveries per minute per account, across all your webhooks. More give a 429, and the dashboard says the test failed.
  • A test delivery is sent even when the webhook is disabled. So you can check a fixed endpoint before you enable it again.
  • A test delivery is not sent while the webhook's quota status is Over quota. The dashboard still confirms the request, but nothing reaches your endpoint and no attempt appears in the call history.
  • A failed test delivery is not retried, and it does not count toward the 10 failures that disable a webhook.
  • Test deliveries do not count against your webhook quota, but they appear in the daily usage chart.

Call history

The detail page lists every delivery attempt under Call History, real deliveries, retries and tests alike. For each attempt you see:

  • Status Code: the HTTP status your server answered, or 0 when there was no answer (timeout or connection error).
  • Attempted At: when finlight sent the attempt.
  • Latency (ms): how long your server took.
  • Response Details: the response headers and body your server sent back.

Use Load More History for older attempts. Attempts are kept for 7 days.


Debugging checklist

If a test delivery fails or your receiver rejects it, check these points in order:

  1. Status code 0. finlight got no answer. Is the URL public and reachable over HTTPS? Is the TLS certificate valid? Does your server answer within 5 seconds?
  2. 404 or 405. The path or the method is wrong. finlight sends POST to the exact URL you entered.
  3. 401 or 403. A gateway or your code rejected the authentication header. Compare it with the authentication type on the detail page.
  4. 400 from your signature check. Make sure you verify the raw body bytes, not parsed JSON. Use the secret as text, not hex-decoded. Read X-Webhook-Timestamp as ISO 8601, not unix seconds. Check your server clock: the tolerance is 5 minutes. If you pressed Regenerate, use the new secret. See Signature verification.
  5. Your code fails on the payload. Check payloadVersion. A webhook that still delivers v2 sends the flat v2 article. Switch it to v3 or handle the v2 body (see Payload).
  6. Test works, but no real deliveries arrive. Is the webhook enabled? Is the webhook quota used up (quota status Over quota)? Are your criteria too narrow, for example a language your sources do not publish in? Try the same query with a REST search to see what it matches.