Webhooks

Subscribe an external agent callback webhook for real-time market events

Register an automated webhook callback. The response contains an HMAC secret (X-Foresea-Signature) for validating payloads.

post/webhooks/subscribe

Request

  • Base URL: https://foresea.ink (the document declares no server; this is the origin it was published from)
  • URL: https://foresea.ink/webhooks/subscribe
  • Auth: none declared

Request body

urlstring required

Destination webhook callback URL (https/http)

eventsstring[] nullable

Events to subscribe to: 'edge_alert', 'market_resolution', 'new_market', 'all'

min_edgenumber

Minimum edge threshold for edge_alert events

Response

Successful Response

idstring required
urlstring required
eventsstring[] required
secretstring required
min_edgenumber required
created_atstring required
activeboolean required
statusstring

Changes

No recorded changes to this operation across all 1 revision of this API.