βCreating Participants
This step shows the method to add one or more users as participants in a session with Groups API.
Important Note! Constructor Groupsβ V1 API has been retired and is no longer available to new customers. Please use the Groups V2 API going forward. Link to V2 API documentation: https://developer.perculus.com/v2-en
Using Groups API, there are two ways to create participants for a session:
Adding a user to the session
Before you can add a user as a participant in a session, you will need the USER_ID data of that user and the SESSION_ID data of that specific session.
Available parameters:
user_id
string
Yes
n/a
GUID of the user that will be added to the session as a participant
If the role parameter is not sent, the user will be added to the session with the role she has. Sending the parameter with a non null value will override this.
For example:
User with ID: a4cfd141-ea72-42e1-9b9b-d325ca3b255f has role 'e'
Try add user to session with payload:
{
"user_id": "a4cfd141-ea72-42e1-9b9b-d325ca3b255f"
}Attendee will be added with role 'e'
Example Payload:
Using the same calls, you can make a batch operation for adding attendees to a session, which will significantly reduce overhead by making a request for each attendee to add.
Example payload for batch operation:
Example Response:
You will need to work with the 'ATTENDANCE_CODE' data in the example response you see above if you are making an edit to the settings of a participant in that session. You must therefore store this data securely.
To obtain the attendance link for participants to join the session, please see the relevant section.
π΄ You will see two objects as approved and rejected in the response, you can see their details below:
approved:
Lists the records successfully added from the users.
rejected:
Lists the records that cannot be added from users.
Example Response:
Last updated