MiniApps expose a small REST surface for OAuth and inbound webhooks. Tenants interact with installed MiniApps through GraphQL in the Karzoun app (Marketplace install, credentials, action execution).
Base path: {SAAS_API_URL}/miniapps
REST endpoints (runtime)
Register these URLs with your provider:
- Redirect URI:
{SAAS_API_URL}/miniapps/{ns}/oauth2
- Webhook URL:
{SAAS_API_URL}/miniapps/{ns}/webhooks
GraphQL — Marketplace & install
Available to authenticated Karzoun users in the app. See the GraphQL API reference for full argument types.
Queries
Mutations
Rate limits — Action execution is rate-limited per user per app (30 requests / 60 seconds). Design actions to be idempotent where possible.
Tenant webhooks vs MiniApp webhooks