Magenta Platform · Developer
API Documentation
Complete reference for the FastAPI runtime — REST, GraphQL, WebSockets, and MCP. 611+ HTTP operations documented in OpenAPI.
API Surfaces
REST / Swagger
611+ HTTP operations — try-it-out, schemas, auth.
JSONOpenAPI JSON
Machine-readable spec for codegen and CI contract tests.
GraphQLGraphQL
Strawberry schema — queries, mutations, subscriptions.
VoyagerGraphQL Voyager
Interactive schema explorer.
WSWebSockets
Live hubs: /ws/magenta/, /ws/analytics/, /ws/status/.
MCPMCP Tools
Model Context Protocol for agent integrations.
Guides
5 min setup
Quickstart
Health check, first API call, and local dev URLs.
Sessions & OAuth
Authentication
Google Workspace login, CMYK OTP, magenta_auth, and dev bypass.
Ingest & export
Analytics
Pixel tracking, batch ingest, dashboards, and exports.
Strawberry
GraphQL
GraphQL endpoint, Voyager explorer, and schema conventions.
Live events
Realtime & WebSockets
WebSocket hubs, heartbeat, and test pages.
Platform primitives
Core v1 API
Auth, users, contact, deliverability, geoip under /api/v1/core/.
Physical → digital
NFC & QRCodes
NFC tags, QR campaigns, brand profiles, and landing pages.
Automation
Workflows & Comms
n8n workflows, SendGrid email, and comms webhooks.