zion-baas
Installation
SKILL.md
Zion.app Headless BaaS Skill
Overview
This skill outlines how to build frontend applications utilizing Zion.app as a headless Backend-as-a-Service (BaaS). Zion exposes all backend interactions (database, actionflows, third-party APIs, and AI agents) through a single, unified GraphQL API.
- HTTP URL:
https://zion-app.functorz.com/zero/{projectExId}/api/graphql-v2 - WebSocket URL:
wss://zion-app.functorz.com/zero/{projectExId}/api/graphql-subscription
Token Acquisition & Authentication (CRITICAL)
To interact with authenticated endpoints, you must obtain a JWT token by logging in or registering. Unauthenticated requests are assigned an anonymous user role. The JWT can be obtained in two ways. One is via username + password login. The other one is by querying the Meta API & fetching runtime backend token. The token return in FETCH_DATA_VISUALIZER is the runtime backend token.