Guests
Adding a guest participant will deprive you from some functionalities as opposed to adding an existing user to a session as a participant.
External participants are attendees of a session that doesn't belong to an account. Below, you can see the parameters which you can send:
Parameter
Type
Required
Default
Description
name
string
Yes
n/a
Name of the participant
surname
string
Yes
n/a
Surname of the participant
string
Yes
n/a
Email address of the participant
mobile
string
No
null
Mobile of the participant
email
parameter is a unique constraint for a session, therefore, if there exists a participant with that email, the call will update the existing participant.
Example Payload:
curl --location --request POST \
'https://<DOMAIN>/xapi/session/<SESSION_ID>/attendees' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "John",
"surname": "Doe",
"email": "[email protected]",
"role" "a"
}
]'
Creating an external participant
Last updated
Was this helpful?