Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt

Use this file to discover all available pages before exploring further.

When it fires

Sent right after CreateWorkspaceService succeeds — for example when an owner clicks “Create workspace” or completes onboarding.

Payload

{
    type: 'workspace.created',
    data: {
        workspace: {
            id: string         // UUID
            name: string
            slug: string
            plan: string       // 'free' | 'starter' | 'business'
            createdAt: string  // ISO timestamp
        }
    }
}

Example

{
    "id": "019e7d98-6b82-7305-ac80-478fa6557995",
    "type": "workspace.created",
    "apiVersion": "2026-05-31",
    "createdAt": "2026-05-31T10:33:20.123Z",
    "workspaceId": "0192a1b2-c3d4-7000-8000-000000000001",
    "actor": {
        "userId": "0192a1b2-c3d4-7000-8000-000000000002",
        "name": "Jane Doe",
        "email": "jane@example.com"
    },
    "data": {
        "workspace": {
            "id": "0192a1b2-c3d4-7000-8000-000000000001",
            "name": "Acme",
            "slug": "acme",
            "plan": "free",
            "createdAt": "2026-05-31T10:33:20.123Z"
        }
    }
}