intu ai Support & Docs
← Home Sign in →
POST /api/v1/quizzes

Create a quiz

Creates a quiz for a subject and topics. Returns 202 Accepted immediately with a quiz_id and status: pending. Await the quiz.completed webhook or poll Retrieve a quiz.

Parameters

Name Type Required Description
user_id string required Your identifier for the student (billing)
quiz.subject_id uuid required Subject (must be on your subscription)
quiz.topic_ids array required One or more topic UUIDs to draw from
quiz.difficulty string required easy, medium, or hard
quiz.duration integer required Target length in minutes, from 1 to 60

Returns

A pending quiz object echoing your inputs, plus a poll_url.