Build multi-tenant applications on AmDital's platform.
Every resource in AmDital belongs to a workspace. The workspace slug or UUID is used as the tenant identifier across all API calls.
// Every API call is scoped to a workspace
GET ${API_URL}/api/tasks?workspace=<workspace-slug>
POST ${API_URL}/api/invoices
{
"workspace": "<workspace-id>",
"amount": 1000
}AmDital enforces tenant isolation at three layers:
Workspace members have roles (owner, admin, member) stored in workspace_members. The JWT carries the workspace role claim for server-side enforcement.