# Question

### Question Properties

| Attributes          | Type    | Description                                                                |
| ------------------- | ------- | -------------------------------------------------------------------------- |
| question_id         | integer | ID of the question                                                         |
| question_text       | string  | Text of the question                                                       |
| sub_question        | string  | details of the question                                                    |
| answer_type         | enum    | 'mcq', 'fill_blank', 'true_false', 'matching', 'mcq_image'                 |
| question_type       | enum    | 'text', 'image', 'audio','abacus_visualisation_number','abacus_number',abacus_flashcard' |
| question_tags       | string  | question_tags of the question                                              |
| answer              | string  | Correct answer for the question                                            |
| solving_time        | integer | issued time to solve the question                                          |
| question_difficulty | enum    | Difficulty: 'easy', 'medium', 'hard'                                       |
| question_marks      | integer | Marks for the question                                                     |
| course_id           | integer | ID of the course                                                           |
| level_id            | integer | ID of the level                                                            |
| topic_id            | integer | ID of the topic                                                            |
| lesson_id           | integer | ID of the lesson                                                           |
| options             | string  | Options for MCQ questions                                                  |

## Get All Question

```shell
curl -X GET https://vedaay-api.mulika.in/questions
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
'{
    "status": "success",
    "message": "2 questions retrieved successfully",
    "code": 200,
    "pagination": {
        "current_page": 1,
        "per_page": 2,
        "total_records": 33,
        "total_pages": 17
    },
    "data": [
        {
            "question_id": "929",
            "question_text": "what about today ?",
            "sub_question": "66,67",
            "answer_type": "mcq_image",
            "question_tags": "number",
            "question_type": "text",
            "answer": "true",
            "solving_time": "10",
            "question_difficulty": "easy",
            "question_marks": "100",
            "question_created_at": "2026-04-21 14:34:18",
            "course_id": "272",
            "lesson_id": "312",
            "level_id": "80",
            "topic_id": "155",
            "options": [
                {
                    "media_id": "77",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/77/1772447043_sample_640x360.mkv",
                    "media_alt": "video",
                    "media_title": "check2",
                    "media_description": "apksd3"
                },
                {
                    "media_id": "78",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/78/1772447475_sample_960x540.mkv",
                    "media_alt": "video1",
                    "media_title": "video2",
                    "media_description": "video3"
                }
            ],
            "created_by": "497",
            "meta": {
                "question format": "strong",
                "question level": "premium"
            }
        },
        {
            "question_id": "928",
            "question_text": "hello this is a question",
            "sub_question": [
                {
                    "media_id": "33",
                    "media_src": "http://192.168.1.87:8084/mi97/api.vedpad.in/media/src/33",
                    "media_alt": "user is beautiful",
                    "media_title": "user is good",
                    "media_description": "user are red"
                },
                {
                    "media_id": "35",
                    "media_src": "http://192.168.1.87:8084/mi97/api.vedpad.in/media/src/35",
                    "media_alt": "back4",
                    "media_title": "back4",
                    "media_description": "back4"
                }
            ],
            "answer_type": "true_false",
            "question_type": "image",
            "question_tags": "number",
            "answer": "true",
            "solving_time": "10",
            "question_difficulty": "easy",
            "question_marks": "100",
            "question_created_at": "2026-04-21 14:38:15",
            "course_id": "272",
            "lesson_id": "312",
            "level_id": "80",
            "topic_id": "155",
            "options": "[66,68]",
            "created_by": "497",
            "meta": {
                "question format": "protective",
                "question type": "hard"
            }
        }
    ]
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /questions
</span>

1.  GET /questions
2.  GET /questions/{id}
3.  GET /questions?page=1&per_page=20
4.  GET /questions?search=value
5.  GET /questions?include=107,135,142
6.  GET /questions?exclude=122,165,187
7.  GET /questions?orderby=created_at&order=ASC
8.  GET /questions?fields=question_id,question_difficulty
9.  GET /questions?column_count=question_difficulty
10. GET /questions/tags?search=kil

### Available Parameters

| Parameters    | Type    | Description                                              |
| ------------- | ------- | -------------------------------------------------------- |
| page          | integer | Current page of the collection (default: 1)              |
| per_page      | integer | Max items per page (default: 10)                         |
| search        | string  | Filter results by a search string                        |
| exclude       | array   | Exclude specific IDs from results                        |
| include       | array   | Include specific IDs in the results                      |
| order         | string  | Sort order: 'asc' or 'desc' (default: 'desc')            |
| orderby       | string  | Sort by: 'date', 'modified', 'id', 'title'               |
| column filter | string  | filter applied to get columns details seperated by comma |

## Get Questions Tags

```shell
curl -X GET https://vedaay-api.mulika.in/questions/tags
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
'{
    "status": "success",
    "message": "Question tags retrieved successfully",
    "code": 200,
    "data": [
        {
            "question_id": "636",
            "question_tags": "hello"
        },
        {
            "question_id": "637",
            "question_tags": "kilo"
        },
        {
            "question_id": "638",
            "question_tags": "brown"
        },
        {
            "question_id": "649",
            "question_tags": "spiron"
        },
        {
            "question_id": "650",
            "question_tags": "jabre"
        },
        {
            "question_id": "652",
            "question_tags": "howey"
        },
        {
            "question_id": "653",
            "question_tags": "katilk"
        },
        {
            "question_id": "654",
            "question_tags": "fogal"
        },

    ],
    "search": null
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /questions/tags
</span>

1.  GET /questions/tags?search=kil

### Parameters

| Parameter | Type   | Description                       |
| --------- | ------ | --------------------------------- |
| search    | string | Filter results by a search string |

## Get Single Question

```shell
curl -X GET https://vedaay-api.mulika.in/questions/757
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
 '{
    "status": "success",
    "message": "Question retrieved successfully",
    "code": 200,
    "data": {
        "question_id": "757",
        "question_text": "hello this is a question",
        "sub_question": "33,35",
        "answer_type": "mcq_image",
        "question_type": "abacus_visualisation_number",
        "question_tags": "number",
        "answer": "true",
        "solving_time": "10",
        "question_difficulty": "easy",
        "question_marks": "100",
        "question_created_at": "2026-04-21 13:17:23",
        "course_id": "272",
        "lesson_id": "312",
        "level_id": "80",
        "topic_id": "155",
        "options": [
            {
                "media_id": "66",
                "media_src": "https://vedaay-api.mulika.in/media/src/66/1772189037_product.txt.zip",
                "media_alt": "pinga",
                "media_title": "hokua",
                "media_description": "apksd"
            },
            {
                "media_id": "68",
                "media_src": "https://vedaay-api.mulika.in/media/src/68/1772189071_ex_marketing_catlog.sql.zip",
                "media_alt": "pinga",
                "media_title": "hokua",
                "media_description": "apksd"
            }
        ],
        "created_by": "497",
        "meta": {
            "question format": "protective",
            "question type": "hard"
        }
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /questions/{id}
</span>

### Parameters

| Parameter   | Type    | Description         |
| ----------- | ------- | ------------------- |
| question_id | integer | ID of the questions |

## Create Question

```shell
curl -X POST https://vedaay-api.mulika.in/questions \
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
    "question_type": "text",
    "question_text": "what about today ?",
    "sub_question": "66,67",
    "answer_type": "mcq_image",
    "question_tags": "number",
    "question_difficulty": "easy",
    "solving_time": "10",
    "options": [77,78],
    "answer": "true",
    "question_marks": "100",
    "course_id": "272",
    "level_id": "80",
    "lesson_id": "312",
    "topic_id": "155",
    "meta": {
        "question format": "strong",
        "question level": "premium"
    }
}'

```

> Responce:

```json
   '{
    "status": "success",
    "message": "Question added successfully!",
    "code": 200,
    "data": {
        "question_id": 944,
        "question_text": "what about today ?",
        "sub_question": "66,67",
        "answer_type": "mcq_image",
        "question_type": "text",
        "question_tags": "number",
        "answer": "true",
        "solving_time": "10",
        "question_difficulty": "easy",
        "question_marks": "100",
        "course_id": "272",
        "level_id": "80",
        "topic_id": "155",
        "lesson_id": "312",
        "options": "[77,78]",
        "created_by": "107"
    },
    "meta": {
        "question format": "strong",
        "question level": "premium"
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /questions
</span>  
 
## Update Question

```shell
curl -X PUT https://vedaay-api.mulika.in/questions/928
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
    "question_type": "image",
    "question_text": "hello this is a question",
    "sub_question": "33,35",
    "answer_type": "true_false",
    "question_tags": "integration",
    "question_difficulty": "easy",
    "solving_time": "10",
    "options": [66,68],
    "answer": "true",
    "question_marks": "100",
    "course_id": "272",
    "level_id": "80",
    "lesson_id": "312",
    "topic_id": "155",
    "meta": {
        "question format": "protective",
        "question type": "hard"
    }
}'
```

> Responce:

```json
   '{
    "status": "success",
    "message": "Question updated successfully.",
    "code": 200,
    "data": {
        "question_id": "928",
        "question_text": "hello this is a question",
        "sub_question": [
            {
                "media_id": "33",
                "media_src": "http://192.168.1.87:8084/mi97/api.vedpad.in/media/src/33",
                "media_alt": "user is beautiful",
                "media_title": "user is good",
                "media_description": "user are red"
            },
            {
                "media_id": "35",
                "media_src": "http://192.168.1.87:8084/mi97/api.vedpad.in/media/src/35",
                "media_alt": "back4",
                "media_title": "back4",
                "media_description": "back4"
            }
        ],
        "answer_type": "true_false",
        "question_type": "image",
        "question_tags": "integration",
        "answer": "true",
        "solving_time": "10",
        "question_difficulty": "easy",
        "question_marks": "100",
        "question_created_at": "2026-05-06 13:02:49",
        "course_id": "272",
        "lesson_id": "312",
        "level_id": "80",
        "topic_id": "155",
        "options": "[66,68]",
        "created_by": "497",
        "meta": {
            "question format": "protective",
            "question type": "hard"
        }
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">PUT</span> /question/{id}
</span>

### Parameter

| Parameter   | Type    | Description        |
| ----------- | ------- | ------------------ |
| question_id | integer | ID of the question |

## Delete Question

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #c91c05; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">DELETE</span> /questions/{id}
</span>

```shell
curl -X DELETE https://vedaay-api.mulika.in/questions/874
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
    '{
    "status": "success",
    "message": "Question and its all details deleted successfully.",
    "code": 200,
    "data": {
        "question_id": "874",
        "question_text": "hello new question ?",
        "sub_question": "70,71",
        "answer_type": "mcq_image",
        "question_type": "image",
        "question_tags": "integration",
        "answer": "true",
        "solving_time": "10",
        "question_difficulty": "easy",
        "question_marks": "100",
        "question_created_at": "2026-04-14 10:06:06",
        "course_id": "272",
        "level_id": "80",
        "topic_id": "155",
        "lesson_id": "312",
        "options": "[77,78]",
        "created_by": "294"
    }
}'
```

## Import Questions

```shell
curl -X POST https://vedaay-api.mulika.in/questions/import \
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
--form 'csv_file=@"/home/mi97/Desktop/questions.csv"' \
--form 'course_id="165"' \
--form 'level_id="25"' \
--form 'topic_id="155"' \
--form 'lesson_id="174"'
```

> Responce:

```json
   '{
        "status": "success",
        "message": "Import finished: 7 correct, 0 incorrect question(s)",
        "code": 200,
        "data": {
            "total_success": 7,
            "total_errors": 0,
            "created_by": "302"
        }
    }'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /questions/import
</span>

### Attributes

| Attributes | Type      | Description                             |
| ---------- | --------- | --------------------------------------- |
| csv_file   | form data | csv file contains the questions details |
| course_id  | integer   | ID of the course                        |
| lesson_id  | integer   | ID of the lesson                        |
| level_id   | integer   | ID of the level                         |

## Download Import Questions CSV

```shell
curl -X GET https://vedaay-api.mulika.in/download_errors
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
"questions_errors_2026-05-01_13-06-51.csv"
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /download_errors 
</span>

## Export Questions

```shell
curl -X POST https://vedaay-api.mulika.in/questions/export?question_ids=811,812,815' \
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE

```

> Responce:

```json
   '{
    "status": "success",
    "message": "3 questions exported successfully",
    "code": 200,
    "download_url": "https://dev-api.vedaay.mulika.in/download_exported",
    "filename": "questions_export_2026-04-25_11-47-54.csv"
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /questions/export
</span>

1. GET /questions/export?question_ids=811,812
2. GET /questions/export?question_type=image 
3. GET /questions/export?question_difficulty=hard 
4. GET /questions/export?course_id=165
5. GET /questions/export?question_type=audio&question_difficulty=medium&level_id=65
6. GET /questions/export?question_type=text&lesson_id=265

### Parameter

 Parameter           | Type    | Description                                                                                                             
 ------------------- | ------- | -----------------------------------------------------------------------
 question_ids        | integer | multiple in comma seperated or single id for export questions ex - question_ids=811,812
 question_type       | string  | types 'text, image, audio, abacus_visualisation_number, abacus_number, abacus_flashcard'
 question_difficulty | string  | types 'easy,medium,hard'
 course_id           | integer | course_id 
 level_id            | integer | level_id 
 topic_id            | integer | topic_id 
 lesson_id           | integer | lesson_id 

## Download Exported Questions CSV

```shell
curl -X POST https://vedaay-api.mulika.in/download_exported \
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE

```

> Responce:

```json
"questions_export_2026-04-25_10-32-35.csv"
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /download_exported
</span>


# Question Tags 

The Question Tags API allows you to create, view, update, and delete individual, or a batch, of Question Tags.

## Question Tags Properties

| Attributes          | Type    | Description                                             |
| ------------------- | ------- | ------------------------------------------------------- |
| tags_id             | integer | ID of the Question Tags                                 |
| question_tags_title | string  | Text of the Question Tags                               |
| unique_name         | string  | unique_name of the Question Tags                        |
| created_by          | integer | user_id of the user who has created a this Question Tag |
| created_at          | integer | Question Tag created time                               |

## Get All Question Tags

```shell
curl -X GET https://vedaay-api.mulika.in/question_tags
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJdKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
'{
    "status": "success",
    "message": "2 question tags retrieved successfully",
    "code": 200,
    "data": [
        {
            "tags_id": "1",
            "question_tags_title": "vadmin@gmail.com",
            "unique_name": "11111111",
            "created_by": "294",
            "created_at": "2026-05-12 12:45:47"
        },
        {
            "tags_id": "2",
            "question_tags_title": "vk admin",
            "unique_name": "admin",
            "created_by": "294",
            "created_at": "2026-05-12 12:46:37"
        }
    ]
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /question_tags
</span>

## Get Single Question Tags

```shell
curl -X GET https://vedaay-api.mulika.in/question_tags/3
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
 '{
    "status": "success",
    "message": "question tag retrieved successfully",
    "code": 200,
    "data": {
        "tags_id": "3",
        "question_tags_title": "sw weelam",
        "unique_name": "sworg",
        "created_by": "294",
        "created_at": "2026-05-12 17:05:22"
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /question_tags/{Id}
</span>

### Parameters

| Parameter | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| tags_id   | integer | Unique identifier for the question tag |

## Create Question Tags

```shell
curl -X POST https://vedaay-api.mulika.in/question_tags \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
    "question_tags_title":"sw weelam",
    "unique_name":"sworg"
    }'
```

> Responce:

```json
   '{
    "status": "success",
    "message": "question tag created successfully.",
    "code": 200,
    "data": {
        "tags_id": "3",
        "question_tags_title": "sw weelam",
        "unique_name": "sworg",
        "created_by": "294",
        "created_at": "2026-05-12 17:05:22"
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /question_tags
</span>

## Update Question Tags

```shell
curl -X PUT https://vedaay-api.mulika.in/question_tags/3
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
    "question_tags_title":"wg bakes",
    "unique_name":"piston"
    }'
```

> Responce:

```json
    '{
    "status": "success",
    "message": "question tag updated successfully.",
    "code": 200,
    "data": {
        "tags_id": "3",
        "question_tags_title": "wg bakes",
        "unique_name": "piston",
        "created_by": "294",
        "created_at": "2026-05-12 17:05:22"
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">PUT</span> /question_tags/{id}
</span>

## Delete Question Tags

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #c91c05; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">DELETE</span> /question_tags/{id}
</span>

```shell
curl -X DELETE https://vedaay-api.mulika.in/question_tags/3
-H "Content-Type: application/json" \
-H  Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
    '{
    "status": "success",
    "message": "Question tag deleted successfully.",
    "code": 200,
    "data": {
        "tags_id": "3",
        "question_tags_title": "wg bakes",
        "unique_name": "piston",
        "created_by": "294",
        "created_at": "2026-05-12 17:05:22"
    }
}'
```
//query

# Question Query 

The Question Query API allows you to create, view  individual, or a batch, of Question Query.

## Question Query Properties

 Attributes  | Type    | Description                        
 ------------| ------- | -----------------------------------
 query_id    | integer | ID of the Question Query                        
 question_id | integer | question id                              
 message     | string  | message of a query from the user                      
 created_by  | integer | user_id of the user who has created a this Question Query
 created_at  | integer | Question Query created time                               

## Get All Question Query

```shell
curl -X GET https://vedaay-api.mulika.in/questions/query
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJdKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
'{
    "status": "success",
    "message": "3 question queries found",
    "code": 200,
    "data": [
        {
            "query_id": "1",
            "question_id": "875",
            "message": "this is hard question",
            "created_by": "386",
            "created_at": "2026-07-03 11:51:34"
        },
        {
            "query_id": "2",
            "question_id": "999",
            "message": "i cant solve this question",
            "created_by": "386",
            "created_at": "2026-07-03 12:15:24"
        },
        {
            "query_id": "3",
            "question_id": "888",
            "message": "give answer also",
            "created_by": "386",
            "created_at": "2026-07-03 16:54:38"
        }
    ]
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /questions/query
</span>

## Get Single Question Query

```shell
curl -X GET https://vedaay-api.mulika.in/questions/query/3
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```

> Responce:

```json
 '{
    "status": "success",
    "message": "Question query found",
    "code": 200,
    "data": {
        "query_id": "2",
        "question_id": "999",
        "message": "i cant solve this question",
        "created_by": "386",
        "created_at": "2026-07-03 12:15:24"
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /questions/query/{Id}
</span>

### Parameters

 Parameter | Type    | Description                      
 --------- | ------- | --------------------------------
 query_id  | integer | Unique id for the question Query 

## Create Question Query

```shell
curl -X POST https://vedaay-api.mulika.in/questions/query \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
    "question_id":"888",
    "message":"give answer also"
  }'
```

> Responce:

```json
   '{
    "status": "success",
    "message": "question query created successfully.",
    "code": 200,
    "data": {
        "query_id": "3",
        "question_id": "888",
        "message": "give answer also",
        "created_by": "386",
        "created_at": "2026-07-03 16:54:38"
    }
}'
```

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /questions/query
</span>
