Actions11
- Event Actions
- Element Actions
- Listing Actions
- Event Template Actions
Element → Update Element
AI-generatedSummary
Update a specified element in a Monterosa project by modifying its attributes, publishing state, or revealing quiz answers and results based on the chosen action.
Inputs
- Project ID (required) — The ID of your Monterosa project.
- Element ID (required) — ID of the element to update.
- Use Custom JSON — Option to provide a custom JSON request body instead of using form fields for the update.
- Custom JSON — Custom JSON request body to set element data directly when 'Use Custom JSON' is true.
- Localization — Localization setting for custom fields, choosing between all languages or English only when not using custom JSON.
- Action — The action to perform on the element: update attributes, publish, reveal answer, reveal results, revoke, or stop the element. Defaults to 'update'.
- Update Fields — When the action is 'update' and not using custom JSON, specify fields to update such as question text and image, options, start mode, duration, offset, and voting settings.
- Correct Option — Number identifying the correct option, required for actions revealing quiz answers or results.
Output shape
a single JSON object representing the updated element or the result of the performed action
If 'Use Custom JSON' is true, the update respects the structure of the provided JSON. Actions like 'publish', 'revoke', 'stop', 'reveal_answer', and 'reveal_results' trigger respective state changes on the element. The returned data reflects the current element state after update.