Skip to content
GetmeDocs
Sign inCreate account

Getting started

  • Getme developer documentation

API Reference

  • Introduction
  • Authentication
  • Errors
  • Idempotent requests
  • Metadata
  • Pagination
  • Request IDs
  • Versioning
  • Webhooks
  • Event Catalog
  • SDKs and CLI

Core Resources

  • Auth
  • Events

Site Resources

  • Forms
  • Sites

Commerce Resources

  • Brands
  • Categories
  • Products
  • Services

Crm Resources

  • Customers

Other Resources

  • Media

Dev Tools

  • CLIBeta
  • Website source with the CLIBeta
  • Webhooks with the CLIBeta
  • SDKsBeta
  • Node SDKBeta
  • Python SDKBeta

Guides

  • Guides
  • Quickstart
  • Website source workflow
  • Webhook handler

Changelog

  • Changelog
  • June 10, 2026 - Developer platform docs beta
  • July 15, 2026 - Install token lifecycle safety
  • July 15, 2026 - Source-first site development
  • July 15, 2026 - Site source navigation warnings
Loading documentation...
HomeCLIWebhooks with the CLI

Webhooks with the CLI

Beta

List webhook events, trigger signed test events, and forward webhook traffic during local development.

The CLI helps you test webhook integrations locally without weakening the production delivery model.

List events

bash
getme webhooks events

Use the event list with the generated Event Catalog to choose event names and inspect payload shape.

Trigger a signed test event

bash
getme webhooks trigger \
  --forward-to http://localhost:3000/webhooks \
  --event booking.cancelled \
  --environment test \
  --secret whsec_test

webhooks trigger sends a signed test event to a local endpoint. It is useful for handler development and CI smoke checks.

Listen and forward

bash
getme webhooks listen \
  --forward-to http://localhost:3000/webhooks \
  --port 4242 \
  --secret whsec_...

webhooks listen accepts local webhook requests and forwards the original signed request to your application. When --secret is provided, the CLI verifies X-Getme-Signature before forwarding.

Test and live payloads

Local trigger defaults to --environment test, which creates payloads with livemode: false. Pass --environment live only when you intentionally need a live-shaped local fixture. Keep the signing secret separate from any real live endpoint secret.

Handler rules

Webhook handlers should:

  • read the raw request body for signature verification;
  • verify X-Getme-Signature before processing;
  • handle duplicate deliveries idempotently;
  • respond with a 2xx status only after the event is safely accepted.

On this page

  • List events
  • Trigger a signed test event
  • Listen and forward
  • Test and live payloads
  • Handler rules