Webhooks

Subscribe to SnowSure outbound webhooks

Register an https callback URL for snow events. Returns a one-time secret used to (1) authenticate GET/DELETE on the subscription and (2) verify the X-SnowSure-Signature header on deliveries (sha256= + hex(HMAC-SHA256(secret, rawBody))). Docs: https://www.snowsure.ai/developers/webhooks

post/api/v1/webhooks

Request

  • Base URL: https://www.snowsure.ai
  • URL: https://www.snowsure.ai/api/v1/webhooks
  • Auth: none declared

Request body

urlstring uri required

Public https callback URL

eventsstring[] required
resortSlugstring

Optional — scope events to one resort (e.g. aspen-mountain). Omit for global events.

Response

Subscription created. The secret is returned once and never again.

metaobject

Changes

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