FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
Git ContextAPI Reference
API Authentication & JWT
Docsgit-contextAPI ReferenceAPI Authentication & JWT
GitHub Live Sync

API Authentication & JWT

Live technical documentation fetched from GitHub repository omghante/metapilot/docs/api/authentication.md

Authentication & JWT Specification

MetaPilot authentication relies on JSON Web Tokens (JWT) implemented via
rest_framework_simplejwt
.

Token Lifecycle

Rendering diagram...

Role-Based Access Control (RBAC) Hierarchy

RoleScopePermitted Actions
SUPER_ADMIN
Global PlatformFull access to all endpoints, agencies, tenants, audit logs, setup endpoints.
AGENCY_ADMIN
Agency LevelCan manage clients/tenants created under their agency.
TENANT_ADMIN
Tenant LevelCan manage tenant settings, team members, WhatsApp configurations, and campaigns.
TENANT_USER
Operator LevelRead/write access within tenant inbox, messaging, and templates.