1. 📝 Quiz
Zatoona Ai Api Docs
  • 🔐 Auth
    • Send OTP (Register)
      POST
    • Verify OTP (Register)
      POST
    • Login
      POST
    • Refresh Token
      POST
    • Logout
      POST
    • Forgot Password (Send OTP)
      POST
    • Reset Password (Verify OTP)
      POST
    • Change Password
      POST
    • Google OAuth Login
      POST
  • 👤 User & Profile
    • Get Profile
      GET
    • Get Me (with completion %)
      GET
    • Update Profile
      PUT
    • Get Daily Usage
      GET
    • Get Subscription Info
      GET
  • ❓ Ask (AI Questions)
    • Ask a Question (JSON)
      POST
    • Ask a Question (with Image)
      POST
    • Get Ask History
      GET
    • Submit Feedback on Answer
      POST
  • 🎓 Curriculum
    • Get All Subjects
      GET
    • Get Chapters for Subject
      GET
    • Get Chapter Detail
      GET
  • 📝 Quiz
    • Get Quiz Subjects
      GET
    • Get Quiz Chapters
      GET
    • Start Quiz
      POST
    • Submit Quiz Answers
      POST
    • Get Quiz Result
      GET
    • Get Quiz History
      GET
    • Get Chapter Rankings
      GET
  • 🃏 Flashcards
    • Get Study Deck
    • Submit Single Card Review
    • Submit Batch Reviews (End of Session)
    • Get Flashcard Stats
    • Get Chapter Mastery
  • 📚 Study Planner
    • Create Study Plan
    • List Study Plans
    • Get Plan Detail
    • Update Study Plan
    • Delete (Abandon) Study Plan
    • Pause Plan
    • Resume Plan
    • Get Today's Session
    • Get Calendar View
    • Reschedule Missed Sessions
    • Quick Session
    • Complete Plan (Celebration)
    • List Plan Sessions
    • Complete Session
    • Batch Complete Blocks
    • Generate Session Quiz
    • Save Session Notes
    • Start Pomodoro Block
    • Complete Pomodoro Block
    • Skip Pomodoro Block
    • Generate Mini-Quiz for Pomodoro
    • Submit Mini-Quiz Answers
    • Get Study Consistency
    • Get Study Progress
    • Get Study Streak
    • Get Weekly Goal
    • Get Study Insights
    • Save Study Reminder
  • 🏠 Student Dashboard
    • Get Dashboard (All Data)
    • Get Streak
    • Get Daily Challenge
    • Get Achievements
    • Get AI Insight
    • Get Student History
    • Get Single History Item
    • Get Exams
    • Create Exam Reminder
    • Update Exam Reminder
    • Delete Exam Reminder
  • 🏆 Gamification
    • Get Extended Profile
    • Update Extended Profile
    • Get Level Progress
    • Get Leaderboards List
    • Get Leaderboard Top Users
    • Get All Badges
    • Get My Badges
    • Equip Badge
    • Get All Frames
    • Equip Profile Frame
    • Get Gamification Dashboard
    • Activate Streak Shield
    • Get Daily Spin Status
    • Perform Daily Spin
    • Get League Standings
  • ⚔️ VS Battle
    • Create Battle Room
    • Join Battle Room
    • Poll Battle Status
    • Get My Questions (Creator after match)
    • Submit Battle Answers
    • Get Battle Result
    • Get Battle History
    • Get Available Battle Rooms
    • Get Battle Leaderboard
  • 🏫 Study Rooms
    • Create Study Room
    • Join Study Room
    • Get Available Rooms
    • Leave Room
    • End Room (Host Only)
    • Update Participant Status
    • Kick Participant (Host Only)
    • Sync Room State (Poll)
    • Send Chat Message
    • Send Reaction
    • Start Pomodoro Timer (Host)
    • Pause Pomodoro Timer (Host)
    • Resume Pomodoro Timer (Host)
    • Get Room History
    • Get Room Stats
  • 👥 Social (Friends & Follow)
    • Search Users
    • Get Friend Suggestions
    • View User Public Profile
    • Send Friend Request
    • Get Received Friend Requests
    • Get Sent Friend Requests
    • Accept Friend Request
    • Decline Friend Request
    • Cancel Sent Friend Request
    • Get My Friends
    • Remove Friend (Unfriend)
    • Follow User
    • Unfollow User
    • Get My Followers
    • Get My Following
    • Get User Followers
    • Get User Following
    • Get My Social Stats
    • Get User Social Stats
  • 💳 Subscription
    • Get All Plans
    • Get My Subscription
    • Redeem Subscription Code
    • Get Subscription History
  • 🖼️ Profile Images
    • Get Available Profile Images
    • Get Profile Image by ID
    • Set Profile Image
    • Upload Custom Profile Image (Premium)
    • Get Current Profile Image
  • 📣 Referral
    • Get My Referral Code & Stats
    • Apply Referral Code
  • 📱 Device & Notifications
    • Register Device for Push Notifications
    • Unregister Device (Logout)
    • Track Analytics Events
  • 🔔 App Version & Config
    • Check for App Update
    • Get App Config
  1. 📝 Quiz

Submit Quiz Answers

POST
/api/v1/quiz/submit

Request

Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://zatoona-ai.com/api/v1/quiz/submit' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "session_id": "<quiz-session-uuid>",
  "answers": [
    { "answer_id": "<answer-uuid-1>", "selected_answer": "A" },
    { "answer_id": "<answer-uuid-2>", "selected_answer": "C" },
    { "answer_id": "<answer-uuid-3>", "selected_answer": "B" }
  ],
  "time_taken_seconds": 120
}'
Response Response Example
{}
Modified at 2026-04-14 09:37:41
Previous
Start Quiz
Next
Get Quiz Result
Built with