// AI Platform Drift
RealtimeKit auth tokens support custom validity windows and single-token revocation
Cloudflare developer changelog · published 2026-11-14 18:02 UTC
WHAT CHANGEDCloudflare RealtimeKit auth tokens now accept optional not_before and expires_on fields when adding a participant, replacing the fixed 100-day validity period. Tokens can be individually revoked without setting the entire meeting to INACTIVE. RealtimeKit rejects expired, not-yet-valid, and revoked tokens before participants enter meetings, and does not bill for rejected tokens. Revoked tokens take up to 60 seconds to stop working everywhere.
WHY IT MATTERSApplications that share meeting links can now limit token validity to scheduled session windows, preventing access after a class or interview ends. Billing no longer applies to tokens rejected for expiry or revocation, reducing costs for applications that generate tokens speculatively or need to revoke access.
WHAT TO DOReview participant-addition code paths. If your application generates tokens for scheduled sessions, add not_before and expires_on fields with session start and end times to prevent link reuse. If you need immediate participant removal, continue using the delete participant endpoint rather than token revocation, which has up to 60 seconds of propagation delay.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Realtime - Set custom validity windows for RealtimeKit auth tokens +https://developers.cloudflare.com/changelog/post/2026-11-12-realtimekit-auth-token-validity/ +Thu, 12 Nov 2026 00:00:00 GMT + +RealtimeKit auth tokens now support custom validity windows, and you can revoke a single token. When your backend adds a participant to a meeting, it gets back an auth token that the participant's app uses to join. +Previously, every token was valid for 100 days from the moment it was issued. Now you can choose when a token starts and stops working, for example only during a scheduled class or interview, so a shared link stops working once the session is over. Pass not_before and expires_on in the token object when you add a participant: +Required API token permissions +At least one of the following token permissions is required:Realtime AdminRealtimeAdd a participantbashcurl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/realtime/kit/$APP_ID/meetings/$MEETING_ID/participants" \ +--request POST \ +--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ +--json '{ +"name": "Mary Sue", +"preset_name": "<preset_name>", +"custom_participant_id": "<uuid_of_the_user_in_your_system>", +"token": { +"not_before": "2026-12-01T15:00:00Z", +"expires_on": "2026-12-01T17:00:00Z" +} +}' +Both fields are optional, so existing integrations keep getting 100-day tokens. +You can also revoke a single token without setting the whole meeting to INACTIVE. If the participant is in the meeting, RealtimeKit removes them. A revoked token can take up to 60 seconds to stop working everywhere, so delete the participant instead if you need to block them immediately. +RealtimeKit rejects expired, not yet valid, and revoked tokens before the participant enters the meeting, so you are not billed for them. +Learn more + +Token validity and refresh +Revoke tokens +Add participant API +Refresh participant token API
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | New RealtimeKit auth token features alter API contract, token lifecycle, and billing behavior for existing integrations. |
| signals | new API capability: custom token validity windows · breaking change to token lifecycle: 100-day default now customizable · new required API fields: not_before and expires_on · new token revocation feature · authentication/permission model change · billing impact: expired tokens not billed |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |