Guests
Parameter
Type
Required
Default
Description
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"
}
]'from perculus_sdk.client import APIClient
# API client
client = APIClient()
...
# Add a Guest Attendee
attendee = client.attendees.add_attendee("<SESSION_ID>", {
"name": "John",
"surname": "Doe",
"email": "[email protected]",
"role" "a"
})
print(attendee)
# Add Multiple Guest Attendees
attendees = client.attendees.add_multiple("<SESSION_ID>", [
{
"name": "John",
"surname": "Doe",
"email": "[email protected]"
},
{
"name": "John",
"surname": "Doe2",
"email": "[email protected]",
"role" "a"
}
])
print(attendees)Creating an external participant
Last updated