Joining a 24sessions meeting
Using the 24sessions API you can display links to join a meeting wherever you want. For example, a link can be displayed in a CRM, client portal, or email message.
A meeting can only be started by the user, often referred to as the host or agent. For security reasons, the user needs to be authenticated to 24sessions.
The guests, on the otherhand, do not need to be authenticated and can join a meeting using a unique identifier in the URL, which is later referred to as the accessKey
. The guests are typically customers.
If a guest joins a meeting before the user, a waiting room is displayed. The waiting room can be fully customized.
In this tutorial you will learn:
- How to get a joining link for the user
- How to get a joining link for a guest
∞ Getting meeting information
Once a meeting is created, we can fetch the link for the user from the meeting information. This can be fetched in one of the following ways
- From the response when creating a new meeting through the API (see POST /meetings)
- By a separate API call to fetch the meeting details
∞ Joining a meeting as a user
The user is the host of the meeting, often referred to as the agent or advisor. To join a meeting as a user, the user needs to be authenticated to 24sessions. If a user is not authenticated, the user is redirected to a login page. Also, only the user can start a meeting. If the guest enters the meeting room before the user, a waiting room is shown.
In the response of either API call (explained above), we can fetch the ID of the meeting. Use this ID to create the meeting link as follows:
https://your-instance.24sessions.com/room/meeting/your-meeting-id
∞ Joining a meeting as a guest
The guest is typically a customer. To join a meeting as a guest, an access key is needed. This access key is unique for each meeting. In the API response we will see an attribute called accessKey
. Using this unique identifier we can generate the link to the meeting for the guest as follows:
https://your-instance.24sessions.com/join/your-accessKey