Bannershut

API Reference

Public delivery endpoints and embed instructions for external websites.

Prototype parity

Endpoints

GET /api/public/orgs/[orgSlug]/zones/[zoneKey]

Returns sanitized published items for one active zone.

GET /api/public/orgs/[orgSlug]/zones.json

Returns all active zones and their public payloads.

GET /widget.js

Loads the external embed script for website zones.

GET /p/[orgSlug]/[pageSlug]

Renders a published hosted public page.

<script
  src="https://www.bannershut.tech/widget.js"
  data-org="test-organization"
  data-zone="homepage_hero"
></script>