When it fires
After CreateVariableService succeeds.
The encrypted value and plaintext are never included in webhook payloads. Only metadata.
Payload
ts
{
type: 'variable.created',
data: {
variable: {
id: string
name: string
type: string // 'string' | 'number' | 'boolean'
isSecret: boolean
environmentId: string
createdAt: string
}
}
}Example
json
{
"type": "variable.created",
"data": {
"variable": {
"id": "0192a1b2-c3d4-7000-8000-000000000030",
"name": "STRIPE_API_KEY",
"type": "string",
"isSecret": true,
"environmentId": "0192a1b2-c3d4-7000-8000-000000000020",
"createdAt": "2026-05-31T11:00:00.000Z"
}
}
}