Webhook reference

Give one of these public URLs to an IDE. They describe the webhook a site implements so boomcast.ai can read the site and apply an approved text update.

OpenAPI

https://boomcast.ai/openapi.json

Markdown

https://boomcast.ai/webhook.md

The site exposes one HTTPS POST endpoint. Save that URL and the shared secret on the boomcast.ai project. The secret is shown when the connection is saved or reset.

What the IDE needs to implement

  1. Accept a JSON POST.
  2. Verify X-BoomCast-Timestamp and X-BoomCast-Signature with the shared secret. Reject a timestamp more than 5 minutes off.
  3. Return a catalog when value.op is catalog.
  4. Return the current value when value.op is read.
  5. Return { "ok": true, "pong": true } for a connection test.
  6. Apply update_price, update_text, replace_image, update_hours, or update_metafield once for each pending_update_id.
  7. For hours, set hoursFormat on the catalog target. boomcast.ai parses the text and writes the range in that shape.

The signature is HMAC-SHA256 of the timestamp, a period, and the canonical JSON body. Canonical JSON sorts object keys, omits the signature field, and has no whitespace. The full rules and examples are in the markdown reference.

Successful response

{ "ok": true, "result": { "updated": "page:home:heading" } }

A catalog response is { "ok": true, "catalog": { "adapters": [], "targets": [] } }. A read response is { "ok": true, "value": "current text" }.

Invalid JSON is 400. A bad signature or stale timestamp is 401. A signed change the site cannot apply is 422. A missing secret is 503. Each error body is { "error": "reason" }.

Powered by Boom ListBoom List