Swagger is canonical
Open the multi-spec explorer: https://api.macrocontent.dev/docs · Raw index: /docs.json · Embedded UI: Swagger in docs
Pick an API
Management
Server automation for one website with mt_ tokens (content, team, domains, activity…).
ContentSDK and prerender content routes with X-Api-Key (pk_ / dk_ / legacy sk_).
StorePublic catalog, bundles, and authenticated library / install routes.
PublisherPortal session plus /publisher/v1 automation with pt_ tokens.
API surfaces
| Spec | Auth | Base | OpenAPI JSON |
|---|---|---|---|
| Management | mt_ / X-Macro-Token | /management | /docs/specs/management.json |
| Content | X-Api-Key / legacy sk_ | /content | /docs/specs/content.json |
| Store | public + session | /store | /docs/specs/store.json |
| Publisher | publisher token / session | /publisher | /docs/specs/publisher.json |
Authentication
Different surfaces use different credentials. Start with Authentication for JWT vs X-Api-Key vs mt_ vs publisher tokens — then open Swagger’s green Authorize button for Try it out.
Authorize in Swagger
Authorize only attaches headers to Swagger test calls. It does not log you into Dashboard, Store, or the Publisher portal.