Authorization header. Do not place keys in URLs, query
parameters, browser code, mobile apps, crash reports, analytics, or logs.
Key Creation
API keys are created only in the authenticated PocketMusala Developer API portal. A mosque owner or permitted mosque manager signs in with their existing PocketMusala account, selects a mosque they can manage, chooses scopes, and creates a key for an external server. The public REST API does not expose key creation or permission-management endpoints.Visibility And Storage
PocketMusala shows the raw key during creation and rotation. Copy it into a server-side secret manager immediately. Use one key per external system. Do not share one key between unrelated apps or vendors. Use the key prefix to identify which integration is making requests without exposing the secret portion of the key.Scopes
| Scope | Meaning |
|---|---|
sync:read | Read the mosque sync snapshot, profile, announcements, prayer rows, events, and capabilities. |
sync:write | Create or update approved mosque sync resources. Includes read access. |