Z League · AsyncAPI Specification

MEGA Public CRM Lead Webhooks

Version 1.0.0

Outbound webhook event surface for the MEGA public CRM Lead API. MEGA POSTs a signed `lead.created` event to a subscriber-registered public HTTPS endpoint whenever a genuine new lead is created. Deliveries are HMAC-SHA256 signed (X-Mega-Signature over `${timestamp}.${rawBody}`), at-least-once, and retried. Generated by the API Evangelist enrichment pipeline from the provider's published webhook documentation and OpenAPI payload schema.

View Spec View on GitHub CompanyCRMLeadsMarketingAI AgentsSEOAdvertisingWebhookGamingAsyncAPIEventsWebhooks

Channels

leadCreated
The subscriber-registered URL that receives lead.created deliveries.

Messages

LeadCreated
Lead created

Servers

https
subscriber
Your public HTTPS endpoint registered via POST /api/agents/crm/lead-webhooks (SSRF-validated).

AsyncAPI Specification

Raw ↑
asyncapi: 3.0.0
info:
  title: MEGA Public CRM Lead Webhooks
  version: 1.0.0
  description: >-
    Outbound webhook event surface for the MEGA public CRM Lead API. MEGA POSTs a
    signed `lead.created` event to a subscriber-registered public HTTPS endpoint
    whenever a genuine new lead is created. Deliveries are HMAC-SHA256 signed
    (X-Mega-Signature over `${timestamp}.${rawBody}`), at-least-once, and retried.
    Generated by the API Evangelist enrichment pipeline from the provider's
    published webhook documentation and OpenAPI payload schema.
  x-provenance:
    generated: '2026-07-21'
    method: generated
    source: https://docs.gomega.ai/webhooks
    derived_from: openapi/z-league-crm-lead-openapi.json
defaultContentType: application/json
servers:
  subscriber:
    host: api.your-company.com
    protocol: https
    description: Your public HTTPS endpoint registered via POST /api/agents/crm/lead-webhooks (SSRF-validated).
channels:
  leadCreated:
    address: '{subscriberWebhookUrl}'
    description: The subscriber-registered URL that receives lead.created deliveries.
    parameters:
      subscriberWebhookUrl:
        description: The public HTTPS URL you registered.
    messages:
      leadCreated:
        $ref: '#/components/messages/LeadCreated'
operations:
  receiveLeadCreated:
    action: receive
    channel:
      $ref: '#/channels/leadCreated'
    summary: Receive a lead.created event.
    messages:
    - $ref: '#/channels/leadCreated/messages/leadCreated'
components:
  messages:
    LeadCreated:
      name: lead.created
      title: Lead created
      contentType: application/json
      headers:
        type: object
        properties:
          X-Mega-Signature:
            type: string
            description: 'sha256=<hex> — HMAC-SHA256 over `${X-Mega-Timestamp}.${rawBody}` using the webhook secret.'
          X-Mega-Timestamp:
            type: string
            description: Unix seconds; folded into the signature (replay guard, ~5 min tolerance).
          X-Mega-Delivery:
            type: string
            format: uuid
            description: Delivery UUID; de-duplicate at-least-once retries on it.
      payload:
        $ref: '#/components/schemas/LeadCreatedWebhookPayload'
  schemas:
    LeadCreatedWebhookPayload:
      type: object
      required: [event, delivered_at, lead]
      properties:
        event:
          type: string
          enum: [lead.created]
        delivered_at:
          type: string
          format: date-time
        lead:
          type: object
          required: [id, source_platform, source_type, custom_fields, created_at, updated_at]
          properties:
            id: {type: string}
            contact_name: {type: [string, 'null']}
            contact_phone: {type: [string, 'null']}
            contact_email: {type: [string, 'null']}
            source_platform: {type: string}
            source_type: {type: string}
            lead_line: {type: [string, 'null']}
            current_stage:
              type: [object, 'null']
              properties:
                slug: {type: string}
                name: {type: string}
            custom_fields:
              type: object
              additionalProperties: {type: [string, number, boolean, 'null']}
            created_at: {type: string, format: date-time}
            updated_at: {type: string, format: date-time}

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/z-league-lead-webhooks-asyncapi"
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.