odyssey

Create Subscription

Changed on

Register a watchlist webhook (RESTful alias of /subscribe).

post/v2/datasets/odyssey/webhooks/subscriptions

Request

  • Base URL
    https://api.captain.dev
  • URL
    https://api.captain.dev/v2/datasets/odyssey/webhooks/subscriptions
  • Auth
    none declared

Request body

callback_urlstring required

HTTPS URL to POST watchlist.match events to

feedsstring[] nullable

subset of ['events','publications']; default both

secretstring nullable

HMAC-SHA256 signing secret (write-only; never echoed back)

watchlist_domainsstring[] required

domains to watch, e.g. ['stripe.com']

Response

Successful Response

idstring required
callback_urlstring required
watchlist_countinteger required
feedsstring[] required
statusstring required
created_atstring date-time required

Changes