Skip to main content

Lumio API Overview

The Lumio API is the public HTTP and WebSocket surface for account automation, integrations, extension publishing, and real-time subscribers. It is separate from the extension runtime APIs documented elsewhere in these developer docs: the extension platform runs inside Lumio surfaces, while the Lumio API is called by external services, CI jobs, backends, CLIs, and trusted scripts.

Protocols​

ProtocolProduction endpointShapePrimary use
RESThttps://api.lumio.vision/v1/...JSON request and response bodies use snake_caseScripts, backend integrations, generated OpenAPI clients
GraphQLPOST https://api.lumio.vision/v1/gqlQuery and mutation fields use camelCaseTyped clients that want graph-shaped reads and mutations
WebSocketwss://api.lumio.vision/v1/wsCustom JSON frames with a type discriminator and snake_case frame namesLive events, chat, presence, history refresh, and other subscriptions

The generated REST specification is available at GET https://api.lumio.vision/v1/openapi.json. Production does not serve the interactive Swagger UI — load the spec into your own OpenAPI tooling instead. The GraphQL SDL is available at GET https://api.lumio.vision/v1/schema, and GraphiQL is mounted at GET https://api.lumio.vision/v1/graphiql where enabled.

Environments​

Use the production API host for live integrations:

https://api.lumio.vision/v1
wss://api.lumio.vision/v1/ws

Use the staging API host for non-production testing:

https://lumio.api.staging.zaflun.dev/v1
wss://lumio.api.staging.zaflun.dev/v1/ws

API Keys​

The public API accepts three API-key classes:

PrefixScope boundaryCarries user identity?Typical caller
lm_usr_One user in one accountYesPersonal scripts, local tools, user-owned automations
lm_svc_One accountNoAccount service jobs and server-side integrations
lm_dev_One developer profile or developer teamNoExtension publishing and CI

Every API key is sent with Authorization: Bearer <key>. There is no X-API-Key header and API keys are not accepted in ?token= query parameters.

Reference Pages​

  • Authentication explains key kinds, creation surfaces, headers, rotation, expiry, and revocation.
  • Scopes lists the complete assignable scope registry.
  • Capabilities shows which key kind can reach which class of route.
  • REST, GraphQL, and WebSocket document protocol-specific conventions.
  • Quickstart has copyable curl and wscat examples.