Seats Full
Triggered when all purchased seats in a workspace are utilized (no available seats remain).
Documentation Index
Fetch the complete documentation index at: https://docs.timelines.global/llms.txt
Use this file to discover all available pages before exploring further.
Headers
The unique identifier for the partner.
A JSON Web Token (JWT) signed with your Partner Secret using the HS256 algorithm. Use this header to verify that the webhook was genuinely sent by Timelines Global.
The JWT contains the following claims:
| Claim | Description | |-------|-------------| | partner_id | Your partner identifier — must match the X-TL-Partner-Id header | | nbf | Not-before timestamp (Unix epoch) | | exp | Expiration timestamp (Unix epoch) |
Verification steps:
- Extract the
X-TL-Signatureheader value from the incoming request. - Decode and verify the JWT using your Partner Secret with the HS256 algorithm.
- Confirm that the
partner_idclaim matches theX-TL-Partner-Idheader. - Reject the request if verification fails (invalid signature, expired token, or mismatched partner ID).
JavaScript example:
const jwt = require(''jsonwebtoken'');
function verifyWebhook(req) {
const signature = req.headers[''x-tl-signature''];
const partnerId = req.headers[''x-tl-partner-id''];
try {
const decoded = jwt.verify(signature, PARTNER_SECRET);
return decoded.partner_id === partnerId;
} catch (err) {
return false;
}
}Python example:
import jwt
def verify_webhook(headers):
signature = headers.get(''X-TL-Signature'')
partner_id = headers.get(''X-TL-Partner-Id'')
try:
decoded = jwt.decode(signature, PARTNER_SECRET, algorithms=[''HS256''])
return decoded[''partner_id''] == partner_id
except jwt.InvalidTokenError:
return FalseSee the PartnerAPI Webhooks Overview for more details.
Body
Webhook payload sent when all purchased seats in a workspace are utilized (available seats reach zero). This event is emitted once per billing period when the condition seats_utilized >= seats_purchased becomes true.
Identifier of the workspace whose seat utilization reached the purchased limit.
"my-workspace"
Partner webhook event name.
workspace:seats_full Unique identifier of the partner that owns the workspace.
"partner_12345"
Timestamp when the threshold condition was first met for the current billing period.
"2024-01-01T12:00:00.000Z"
Number of seats purchased for the workspace in the current billing period.
10
Number of seats still available for assignment in the workspace.
10
Response
Receiver accepted the event

