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.jsonMarkdown
https://boomcast.ai/webhook.mdThe 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
- Accept a JSON POST.
- Verify
X-BoomCast-TimestampandX-BoomCast-Signaturewith the shared secret. Reject a timestamp more than 5 minutes off. - Return a catalog when
value.opiscatalog. - Return the current value when
value.opisread. - Return
{ "ok": true, "pong": true }for a connection test. - Apply
update_price,update_text,replace_image,update_hours, orupdate_metafieldonce for eachpending_update_id. - For hours, set
hoursFormaton 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" }.