access.token_expiring
access.token_expiring
Sent to endpoints subscribed to access.token_expiring (Settings › Webhooks). Severity
warning.
Verify the signature before trusting the body; see webhooks.
data
| Field | Type | Description |
|---|---|---|
tokens |
integer | API tokens in this notice |
days |
integer | The notice stage: tokens stop working within this many days (30 or 7) |
firstExpiresAt |
integer | When the first of these tokens stops working, in Unix milliseconds |
Example
{
"id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
"type": "access.token_expiring",
"version": 1,
"tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
"occurredAt": 1792161000000,
"severity": "warning",
"data": {
"tokens": 2,
"days": 7,
"firstExpiresAt": 1792593000000
},
"links": {
"app": "https://app.pacspilot.com/admin/tokens"
}
}