Game Loom
  1. Quiz
Game Loom
  • Game Loom
    • 👋 Welcome to Game Loom
  • Getting started
    • Introduction
    • 👤 Authentication
  • User Registration
    • Introduction
    • Single user registration
      POST
    • Bulk Register Users
      POST
  • Notifications
    • Overview
    • Receiving Event Notifications via Webhooks
    • Get All notifications for specific user
      GET
  • Rewards
    • Overview
    • Points
      • Record user point event
      • Get user points
      • Get Specific user point
    • Levels
      • Record user level event
      • Get user levels
      • Get Specific user level
    • Badges
      • Award badge to user
      • Get user badges
      • Get Specific user badge
  • Challenges (Gamification elements)
    • Introduction
    • Leaderboard
      • Get available leaderboards for user
      • Submit score to a leaderboard
      • Get user's leaderboard participation history
      • Get leaderboard details
      • Get leaderboard ranking
      • Get user's record for a leaderboard
      • Get user's entry history for a leaderboard
    • Survey
      • Overview
      • Get available surveys for user
      • Start a new survey participation
      • Get detailed user participation
      • Get user's survey participation history
      • Abandon survey participation
      • Save individual answer to survey question
      • Submit completed survey
      • Submit Survey with answers (One-Step Submission)
    • Quiz
      • Get available quizzes for user
        GET
      • Submit complete quiz answers
        POST
      • Get comprehensive user quiz history
        GET
      • Get comprehensive quiz attempt details
        GET
    • Open Challenge
      • Overview
      • Get available open challenges for user
      • Complete an open challenge
      • Get user's open challenge participation history
      • Get user open challenge by ID
    • Schemas
      • Survey Schame
  1. Quiz

Get available quizzes for user

GET
api/v1/user/{userkey}/quizzes/available
Retrieves all active quizzes that the authenticated user can take, with comprehensive filtering and localization support

Request

Path Params

Header Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api-stg.98s.studio/api/v1/user/{{user-key}}/quizzes/available' \
--header 'x-api-key: {{api-key}}'
Response Response Example
[
    {
        "id": "4b3bbbaa-ba3d-4625-8b81-ee0632ccaeab",
        "companyId": "c8e815c6-5d28-489e-a0eb-b0aa735b8c57",
        "name": "Quiz 2",
        "description": "Second quiz",
        "startDate": "2026-01-03T19:39:20.603Z",
        "endDate": null,
        "createdDate": "2026-01-03T19:39:22.533118Z",
        "updatedDate": "2026-01-03T19:39:22.533118Z",
        "duration": null,
        "targetedProperties": null,
        "supportedLanguages": [
            "en"
        ],
        "localizedContent": {
            "en": {
                "name": "Quiz 2",
                "description": "Quiz 2"
            }
        },
        "successRate": 0,
        "rewardType": null,
        "rewardAmount": null,
        "rewardId": null,
        "isActive": true,
        "isPublic": false,
        "isRewarded": false,
        "questions": [
            {
                "id": "2f7ffb20-519d-4185-b819-522ca738d257",
                "quizId": "4b3bbbaa-ba3d-4625-8b81-ee0632ccaeab",
                "companyId": "c8e815c6-5d28-489e-a0eb-b0aa735b8c57",
                "questionType": 2,
                "name": "What's the capital of Saudi Arabia ? ",
                "orderQuestion": 1,
                "correctAnswer": 0,
                "choices": [
                    "Riyadh",
                    "Dammam"
                ],
                "localizedQuestions": {
                    "en": "What's the capital of Saudi Arabia ? "
                },
                "localizedChoices": {
                    "en": [
                        "Riyadh",
                        "Dammam"
                    ]
                }
            }
        ]
    },
    {
        "id": "877aae38-1c65-4da4-bcc1-3e015ee7aaa4",
        "companyId": "c8e815c6-5d28-489e-a0eb-b0aa735b8c57",
        "name": "MATH 254",
        "description": "Math quiz for 254",
        "startDate": "2026-01-03T18:30:37.886Z",
        "endDate": null,
        "createdDate": "2026-01-03T18:30:38.383867Z",
        "updatedDate": "2026-01-03T18:30:38.383867Z",
        "duration": "00:00:20",
        "targetedProperties": null,
        "supportedLanguages": [
            "en",
            "ar"
        ],
        "localizedContent": {
            "ar": {
                "name": "ريض ٢٥٤",
                "description": "ريض ٢٥٤"
            },
            "en": {
                "name": "MATH 254",
                "description": "MATH 254"
            }
        },
        "successRate": 0,
        "rewardType": "Point",
        "rewardAmount": 20,
        "rewardId": "68e3f00dd81b74c5fe9ac292",
        "isActive": true,
        "isPublic": true,
        "isRewarded": true,
        "questions": [
            {
                "id": "dc02947b-7d85-4d55-92d4-0482d6564a34",
                "quizId": "877aae38-1c65-4da4-bcc1-3e015ee7aaa4",
                "companyId": "c8e815c6-5d28-489e-a0eb-b0aa735b8c57",
                "questionType": 2,
                "name": "1 + 1",
                "orderQuestion": 1,
                "correctAnswer": 0,
                "choices": [
                    "2",
                    "11"
                ],
                "localizedQuestions": {
                    "ar": "Ù¡ + Ù¡",
                    "en": "1 + 1"
                },
                "localizedChoices": {
                    "ar": [
                        "Ù¢",
                        "١١"
                    ],
                    "en": [
                        "2",
                        "11"
                    ]
                }
            },
            {
                "id": "c6cc7ba6-1022-4d18-aa2c-a320e9b29b36",
                "quizId": "877aae38-1c65-4da4-bcc1-3e015ee7aaa4",
                "companyId": "c8e815c6-5d28-489e-a0eb-b0aa735b8c57",
                "questionType": 2,
                "name": "2 x 2",
                "orderQuestion": 2,
                "correctAnswer": 1,
                "choices": [
                    "50",
                    "4",
                    "300"
                ],
                "localizedQuestions": {
                    "ar": "Ù¢ x Ù¢",
                    "en": "2 x 2"
                },
                "localizedChoices": {
                    "ar": [
                        "٥٠",
                        "Ù¤",
                        "٣٠٠"
                    ],
                    "en": [
                        "50",
                        "4",
                        "300"
                    ]
                }
            }
        ]
    }
]
Modified at 2026-01-03 19:43:42
Previous
Submit Survey with answers (One-Step Submission)
Next
Submit complete quiz answers
Built with