Skip to main content
Webhooks push real-time events from Social media studio to your server. Use these commands to manage subscriptions, send test deliveries, review delivery logs, and retry failed attempts without leaving your terminal.
Webhook plan limits (max subscriptions, log retention) are enforced server-side. See Webhooks Overview for the full limits matrix and payload templating reference.
Every command below honors the global flags: --json (default) or --table for output format, --verbose for extra logging, and --api-key <key> / --api-url <url> to override credentials (also configurable via the SOME_API_KEY and SOME_API_URL environment variables).

webhooks:create

Create a new webhook subscription.
Examples
The response includes a one-time secret value. Store it — it’s used to verify X-Webhook-Signature headers on incoming deliveries and is only returned at creation.

webhooks:list

List all webhook subscriptions in the current workspace.
Examples

webhooks:get

Fetch a single subscription by ID, including its current state and failure counters.
Examples

webhooks:update

Update any field on an existing subscription. Only the fields you pass are modified.
At least one field must be supplied or the command exits with an error. --active and --inactive are mutually exclusive — passing both also errors out.
Examples
--regenerate-secret immediately invalidates the previous secret. The new secret is returned in the update response — update your verification code to use it before rotating in production.

webhooks:delete

Permanently remove a subscription. No further deliveries are attempted.
Examples

webhooks:test

Queue a synthetic webhook.test delivery to verify your endpoint is reachable and your signature verification works.
Examples
The test payload always uses event name webhook.test and category test, regardless of the subscription’s configured categories. This lets your endpoint fast-path synthetic traffic.

webhooks:deliveries

List recent delivery attempts (both successes and failures) with pagination.
Examples

webhooks:retry

Re-queue a previously failed delivery. Uses the original subscription, event, and payload.
Examples
Retrying a delivery whose subscription has been deleted will return an error. Check webhooks:get first if you’re unsure.

webhooks:events

List every event name the API supports, grouped by category. Useful for building --events filters or validating your subscription configuration. The response is an array of { category, label, events } objects.
Examples

Payloads & signature verification

See example payloads for every event category and learn how to verify the X-Webhook-Signature header.