Skip to content
API reference · Webhooks

Send a test event

POSThttps://fomodata.dev/v1/webhooks/{id}/test
Scopes:webhooks:writeRate class:standardFlag:WEBHOOKS_ENABLED

Delivers a clearly-labelled fake thesis.created event (test: true, sandbox handle @sbx_milo) to this endpoint only. It is never real Fomo activity and is not sent to streams or other endpoints.

Example request

curl -X POST 'https://fomodata.dev/v1/webhooks/wh_8Tq3NkVz1LmB5xRc7pYd2F/test' \
  -H "Authorization: Bearer $FOMODATA_API_KEY"

Parameters

Path parameters
idstringrequired
e.g. wh_8Tq3NkVz1LmB5xRc7pYd2F

Response

201 The queued test delivery

application/jsonWebhookDelivery
  • objectenumrequired"webhook_delivery"
  • idstringrequired
  • webhook_idstringrequired
  • event_idstringrequired
  • event_typeenumrequired"thesis.created""profile.updated""token.activity""token.thesis_velocity"
  • statusenumrequired"pending""delivered""failed""retrying"
  • attemptintegerrequired
  • max_attemptsintegerrequired
  • response_statusinteger | nullrequired
  • latency_msinteger | nullrequired
  • next_attempt_atstring (date-time) | nullrequired
  • is_replaybooleanrequired
  • is_testbooleanrequired
  • created_atstring (date-time)required
  • delivered_atstring (date-time) | nullrequired
201 · example
{
  "object": "webhook_delivery",
  "id": "string",
  "webhook_id": "string",
  "event_id": "string",
  "event_type": "thesis.created",
  "status": "pending",
  "attempt": 0,
  "max_attempts": 0,
  "response_status": 0,
  "latency_ms": 0,
  "next_attempt_at": "2026-10-07T10:04:12.000Z",
  "is_replay": true,
  "is_test": true,
  "created_at": "2026-10-07T10:04:12.000Z",
  "delivered_at": "2026-10-07T10:04:12.000Z"
}

Errors

StatusWhen
401Missing, invalid, revoked or expired API key
403Insufficient scope, live access not approved, or history limit
404Not found (or feature disabled)
429Rate limit or quota exceeded

All errors use the standard envelope. See error codes for every code value.