Get virtual access user role

This API is used to get the virtual access user role for the specified event.
This API is accessible by super admin, admin, and user. It will return data like admin, staff, exhibitor, speaker, attendee, isDisclaimerChecked, and a list of roles.
To call this API, a user has to pass eventUrl as a query param with an authentication key to authenticate the user.

Response

Here is the description of response attributes, which returns in the form of JSON.

AttributeDescription
admin If return is "true" user is an admin.
attendee If return is "true" user is an attendee.
disclaimerChecked If return is "true" user confirmed the checkout disclaimer.
exhibitor If return is "true" user is an exhibitor.
roles It will return different types of roles like admin, staff, attendee, whitelabeladmin, leadretriever, exhibitoradmin and speaker.
speaker If return is "true" user is an speaker.
staff If return is "true" user is a staff member.

Error Code

Here are the possible error messages, which get returned if any condition gets failed or required data is missing for processing.

Error CodeError Description
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
40600013Cant create URL
4040200No Event could be found
4068012You have not purchased Virtual Event Tickets. Please, contact the organizers for more information
4060454Please activate your event to access the portal.
4060081The maximum number of attendees for this event has been reached. Please contact the event organizer.
4068917All capacity for free registrations has been redeemed. You can purchase a pass to access the event!
Language
Authorization
Header
Click Try It! to start a request and see the response here!