cURL
curl --request POST \ --url https://app.quizrise.com/api/v1/quiz/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "type": "TRUEFALSE", "count": 123, "source": "WEBSITE", "language": "<string>", "difficulty": "EASY", "content": "<string>", "url": "<string>", "tags": [ "<string>" ] }'
{ "status": "success", "message": "<string>", "quiz": { "id": "<string>", "title": "<string>", "description": "<string>", "slug": "<string>", "visibility": "<string>", "creator": { "name": "<string>", "avatar": "<string>" }, "tags": [ "<string>" ], "questionCount": 123, "flashcardCount": 123, "quizAttemptCount": 123 } }
Create a new quiz with AI-generated questions based on provided content and tags
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Quiz created successfully
The response is of type object.
object