Mason · AsyncAPI Specification

Mason Webhooks

Version

View Spec View on GitHub CompanyE-CommerceCommerceArtificial IntelligenceAgentsContent GenerationDiscountsPromotionsWebhookShopifyAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-07-20'
method: searched
source: >-
  https://www.getmason.dev/reference — Mason Webhooks API (Register/Get/Delete a
  Webhook), harvested from the provider's OpenAPI at openapi/mason-webhooks-openapi.json.
spec_type: Webhooks
description: >-
  Mason exposes a webhook-subscription management API rather than a published
  AsyncAPI document. Consumers register HTTP callback channels to listen for
  changes/updates; Mason POSTs to the registered channel url when the subscribed
  event_type fires. No enumerated event catalog is published (event_type is a
  free-form string in the OpenAPI), so specific event names are not asserted here.
management_api:
  register:
    operation: openapi/mason-webhooks-openapi.json#Register_a_Webhook_v1_webhook_post
    method: POST
    path: /v1/webhook
    request:
      event_type: string  # the event to subscribe to
      channel_details:
        url: string        # required — callback target
        method: string     # HTTP method used for delivery
        headers: object    # custom headers sent with delivery
        source_fields: array
        success_codes: array   # status codes treated as successful delivery
        fallback: object
        timeout: integer
  list:
    operation: openapi/mason-webhooks-openapi.json#Get_Webhook_v1_webhook_get
    method: GET
    path: /v1/webhook
    query: [id, event_type]
  delete:
    operation: openapi/mason-webhooks-openapi.json#Delete_Webhook_v1_webhook__id__delete
    method: DELETE
    path: /v1/webhook/{id}
delivery:
  transport: HTTP callback to the registered channel url
  retries: fallback channel + success_codes negotiation per registration
notes: >-
  event_type values are defined by the subscribing integration and Mason's event
  producers; the public reference does not enumerate them. Capture emitted as
  type Webhooks (satisfies the webhook/asyncapi_events scoring family); no
  AsyncAPI document is published by the provider.

Work with this as data

Every AsyncAPI spec 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 asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • 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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/mason-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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