Participant
Before a user can join a meeting through the RealtimeKit SDK, your backend must add that user as a participant to that meeting using the Add Participant API. In RealtimeKit, a participant represents a user who is allowed to join a specific meeting.
You can think of this as enrolling a student into a classroom. The meeting is the classroom, and adding a participant is how you register a user so that they are allowed to attend.
When you add a participant, you also choose which preset to apply. The preset defines the role, permissions, and meeting experience of that participant.
When you add a participant to a meeting using the Add Participant API endpoint, it returns:
- A participant
idthat identifies this participant within the meeting. - An authentication
tokenfor that participant.
Your backend should make it available to your frontend application. When the user chooses to join the meeting, the frontend passes the token to the RealtimeKit SDK.
RealtimeKit uses the token to authenticate the participant and determine which meeting and which participant is joining. Without a valid authentication token, the SDK cannot join the meeting on behalf of that participant. As long as a participant has a valid authentication token, that participant can join multiple live sessions of the same meeting over time.
Participant authentication tokens are time bound and eventually expire. When a token expires, you do not need to create a new participant for the same user in the meeting.
Instead, your backend can call the Refresh Participant Token API endpoint.
This endpoint issues a new authentication token for the existing participant record, keeping details such as the participant id and preset the same.
When adding the participant, you can optionally provide a custom participant identifier, referred to as custom_participant_id. This value is purely for your use.
RealtimeKit stores it and returns it in APIs, but does not use it to control access. It allows you to map your application's user to RealtimeKit participant and
to correlate RealtimeKit session data, events or analytics with user information in your system.
After understanding participants, you can explore the following topics:
- Learn how Presets define roles and permissions for participants
- Get started with RealtimeKit SDKs
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-