Introduction

Marketing

Private Maya Wealth Marketing API. It is not on workers.dev. Marketing sites call it over a MARKETING service binding.

This MVP writes one SEO article from the calling site's blog-type catalog. Telcam is the first client.

No public playground

Do not attach a workers.dev URL or custom domain. Sites send X-Maya-Caller (and CF-Worker when Cloudflare sets it). The Worker is private to Maya marketing site service bindings.


What it owns

  • Queued and published blogs in D1
  • Copy generation through Workers AI JSON Mode
  • Hero images through Workers AI Flux, stored in R2 and served to sites over the service binding
  • OpenAPI at GET /doc

What it does not own

  • The marketing site pages themselves
  • Enquiry form delivery (Enquiry)
  • Public API-key bootstrap

Local health check: { "ok": true, "service": "marketing" } on port 8800.

See the Marketing API reference.