POST

Bulk Create Quizzes


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates up to 30 detached quiz definitions in a single API call.

Each definition must contain at least one question.

Quiz IDs, revisions, and creation and update timestamps are assigned by the server. Client-supplied values for these read-only fields are ignored. Question IDs (quizzes.fields.id) must be supplied by the caller.

Invalid quiz definitions fail the entire request before any quizzes are created.

Individual item failures don't fail the bulk request. Check results.itemMetadata.success for each item and inspect results.itemMetadata.error when it is false. Individual results can contain error codes not listed for the request.

To use the quizzes in an Online Program, specify the returned quiz IDs as step.quizOptions.id values when calling the Steps API's Create Step or Bulk Create Steps method.

To create a single quiz definition, call Create Quiz.

Authentication

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

Permission Scopes
Manage Online Programs
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/online-programs/v1/bulk/quizzes/create

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?