Get Post Registration Email Toggle

This API Used to show the toggle values associated with the specified event and registration Request Type. when "How to send mail? " Pop not update YES(Send Automatically) or NO(Send Manually) Response till this API gets a response like NOT_SELECTED_YES, NOT_SELECTED_NO.
To call this API, the user has to pass a query param with API URL, registration request type of user, and authentication key to authenticate the user.

Query Parameters
RegistrationRequestType - registration request types like ATTENDEE, SPEAKER, and EXHIBITOR.

Path Parameters
eventUrl- The Event URL is a unique identifier for your event. E.g., https://www.accelevents.com/events/demo. Here, "demo" is the event URL.

Response
It will return data Enum specified values like NOT_SELECTED_NO, NOT_SELECTED_YES, YES, NO.

Authentication required - ✅

Role wise accessibility 

Super Admin - ✅
Event Admin - ✅
Staff - ❌
Attendee - ❌
Exhibitor - ❌
Speaker - ❌

Modules
Display - ❌
Portal - ❌
Host - ✅

Here is the description of response attributes, which are returned in JSON format.
It will return a success message if API is executed successfully.

AttributeDescription
NOT_SELECTED_NOIt shows default when the host does not enable the toggle or does not respond from the Pop value.
NOT_SELECTED_YESIt shows when the host enables toggle but does not respond from the pop value.
YESIt shows when the host sends their response from the pop as AutoSend Mail.
NOIt shows when the host sends their response from the pop as Manually send Mail.

Here are the possible error messages that return if any condition fails or required data is missing for processing.

Error codeError Description
200OK
401Unauthorized
403Not Event Host
404No Event Found
Language
Authorization
Header
Click Try It! to start a request and see the response here!