API Reference

Add Custom Attribute

This API adds a custom attribute associated with the specified event.
API used at host side event admin and super admin can access this API. It will return a response like a type and a message.
To call this API, the user has to pass a query param with API URLs like eventURL, dataType, recurringEventId, customAttribute, and authentication key to authenticate the user.

Here is the description of response attributes, which return to the form of JSON.
It will return a success message if API executes successfully.

AttributeDescription
typeThis field returns types of messages like success or error.
messageContains a message for a response that can be used for display to the end user.

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

Error CodeError Description
200Ok
201Created
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.
4030201Not Event Host
4060903Multiple choice question is only for the enterprise plan, please upgrade your plan.
4060901Attribute names already exist
4060910The conditional question is not for the starter plan, please upgrade your plan.
4060937Conditional questions must have one parent question.
4060934For conditional questions, one record must present having 0 selectedAnsId.
4060935At least 1 sub-question is required.
Language
Credentials
Header
Click Try It! to start a request and see the response here!