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

After CreateKeyService succeeds. The key’s raw value is never in the webhook payload — only metadata.

Payload

{
    type: 'key.created',
    data: {
        key: {
            id: string
            name: string
            active: boolean
            scopes: Record<string, 'none' | 'read' | 'write'>
            projectIds: Array<string>
            createdAt: string | null
        }
    }
}

Example

{
    "type": "key.created",
    "data": {
        "key": {
            "id": "0192a1b2-c3d4-7000-8000-000000000090",
            "name": "CI deploy key",
            "active": true,
            "scopes": {
                "workspace": "none",
                "projects": "read",
                "environments": "read",
                "variables": "read",
                "versions": "read",
                "members": "none"
            },
            "projectIds": ["0192a1b2-c3d4-7000-8000-000000000010"],
            "createdAt": "2026-05-31T12:00:00.000Z"
        }
    }
}