SnowSure Webhooks API

Webhook subscription management

GitHub OpenAPI

Operations 3

POST /api/v1/webhooks Subscribe to SnowSure outbound webhooks #
GET /api/v1/webhooks/{id} Inspect a webhook subscription #
DELETE /api/v1/webhooks/{id} Delete a webhook subscription #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snowsure-ai:snowsure-ai-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snowsure-ai-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SnowSure Webhooks API
  description: 'SnowSure provides verified ski resort snow data: live conditions, 7-day multi-model forecasts (14-day with Pro), forecast accuracy verification, and the SnowSure Score (0–100).


    For conversational Q&A, prefer POST /api/v1/ask (askSnowSure) — grounded answers from SnowSure intelligence, not stitched guesses. Use GET endpoints for ranked lists and structured JSON.


    Use when users ask: best snow right now; resort snowfall; compare forecasts; forecast accuracy or which model to trust; season history; Japan/Europe/North America rankings.


    Seven weather models (ECMWF, GFS, GEM, JMA, ICON, Météo-France, Met Norway); hourly ingest; 30-year verification archive. Public read on snowsure.ai. MCP: https://www.snowsure.ai/mcp (ask_snowdata). GPT instructions: https://www.snowsure.ai/gpt-instructions.md


    Versioning & deprecation: /api/v1 is stable and evolves additively only. Any breaking change gets at least 12 months'' notice via Sunset (RFC 8594) and Deprecation (RFC 9745) response headers plus a changelog announcement before anything is retired — see https://www.snowsure.ai/developers/deprecation-policy. No endpoint is deprecated today.


    Attribution: reuse of SnowSure data requires the credit "Data by SnowSure.ai" with a visible link to https://www.snowsure.ai, plus the upstream credits the data carries (Open-Meteo, the national weather models, Copernicus ERA5, SLF, Varsom). Every response on /api/v1, /api/v2 and /api/el-nino sends `Link` (rel="author", rel="license") and `X-Attribution` headers, and successful data responses carry a top-level `credits` object (schema: Credits) listing exactly which credits apply. Terms: https://www.snowsure.ai/terms.


    Rate limits: public endpoints publish X-RateLimit-Limit / X-RateLimit-Remaining / X-RateLimit-Reset and RateLimit-Policy response headers (documented budget: 120 requests/min per IP per endpoint).


    Idempotency: POST /api/v1/ask supports an optional Idempotency-Key request header; a repeat POST with the same key within 24h replays the stored response body with Idempotency-Replayed: true.


    Version numbering: `info.version` versions this OpenAPI document (additive revisions to the described surface) and is independent of the `schemaVersion` field carried inside individual payloads — e.g. the conditions envelope is at schemaVersion 1.10.0. Payload contracts version on their own cadence and are pinned by their published JSON Schema (`/.well-known/schemas/…`); pin against `schemaVersion` plus the schema URL when you need a stable payload shape, not against `info.version`.'
  version: 1.6.0
  contact:
    name: SnowSure Support
    email: info@snowsure.ai
    url: https://www.snowsure.ai
  license:
    name: Proprietary
    url: https://www.snowsure.ai/terms
servers:
- url: https://www.snowsure.ai
  description: Production server
tags:
- name: Webhooks
  description: Webhook subscription management
paths:
  /api/v1/webhooks:
    post:
      operationId: createWebhookSubscription
      summary: Subscribe to SnowSure outbound webhooks
      description: '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'
      tags:
      - Webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              - events
              properties:
                url:
                  type: string
                  format: uri
                  description: Public https callback URL
                events:
                  type: array
                  minItems: 1
                  items:
                    type: string
                    enum:
                    - snow-report.updated
                    - powder-alert
                resortSlug:
                  type: string
                  description: Optional — scope events to one resort (e.g. aspen-mountain). Omit for global events.
      responses:
        '201':
          description: Subscription created. The secret is returned once and never again.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/WebhookSubscriptionWithSecret'
                  meta:
                    type: object
        '400':
          description: Invalid url, events, or resortSlug
        '429':
          description: Rate limit exceeded (10 subscriptions/hour/IP)
  /api/v1/webhooks/{id}:
    get:
      operationId: getWebhookSubscription
      summary: Inspect a webhook subscription
      tags:
      - Webhooks
      security:
      - webhookSecret: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Subscription details (no secret)
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/WebhookSubscription'
        '401':
          description: Missing Authorization header
        '404':
          description: Unknown id or wrong secret
    delete:
      operationId: deleteWebhookSubscription
      summary: Delete a webhook subscription
      tags:
      - Webhooks
      security:
      - webhookSecret: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Deleted
        '401':
          description: Missing Authorization header
        '404':
          description: Unknown id or wrong secret
components:
  schemas:
    WebhookSubscriptionWithSecret:
      allOf:
      - $ref: '#/components/schemas/WebhookSubscription'
      - type: object
        properties:
          secret:
            type: string
            description: Shown once. Bearer token for managing the subscription and HMAC key for verifying deliveries.
    WebhookSubscription:
      type: object
      properties:
        id:
          type: string
          format: uuid
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            type: string
            enum:
            - snow-report.updated
            - powder-alert
        resortSlug:
          type: string
        createdAt:
          type: string
          format: date-time
        failCount:
          type: integer
        lastDeliveryAt:
          type: string
          format: date-time
        lastDeliveryStatus:
          type: string
          enum:
          - ok
          - failed
  securitySchemes:
    webhookSecret:
      type: http
      scheme: bearer
      description: The subscription secret returned by POST /api/v1/webhooks
externalDocs:
  description: SnowSure Documentation
  url: https://www.snowsure.ai/developers