POST

Add Control


Adds an input control to the draft form.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Events
Manage Events
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/events/v1/events/{eventId}/form/control

Path Params
eventIdstringRequired

Event ID.

Body Params
One Of
Required
Choose one of the following parameters

phonePhone

Phone number input control.


addressAddress

Single-line or full address input control.


dateDate

Day, month, year date input control.


additionalGuestsAdditionalGuests

Additional guests input control.


dropdownDropdown

Single-choice dropdown style input control.


checkboxCheckbox

Multiple-choice checkbox style input control.


textText

Free-form text input control.


radioButtonRadioButton

Single-choice radio button style input control.

Response Object
idstring

Generated unique input control ID.


formForm

Modified draft event form.

Request
cURL
Response
JSON
Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?