---
title: "create question bank"
method: POST
path: "/core/api/v2/assessment/question-bank"
tags: ["question-bank-controller"]
---

# create question bank

`POST /core/api/v2/assessment/question-bank`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v2/assessment/question-bank`
- Auth: none declared

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- QuestionBankDto
  - `addAnswerOption` 'TEXT_ENTRY' | 'IMAGE_ICON'
  - `answer` object
  - `answerExplanation` string
  - `answerType` 'SINGLE_CHOICE' | 'MULTI_CHOICE' | 'SHORT_ANSWER'
  - `assessmentId` integer
  - `correctAnswer` object
  - `correctAnswerOption` string[]
  - `createdTime` integer
  - `description` string
  - `domainId` integer
  - `id` integer
  - `isAssociatedWithAssessment` boolean
  - `isMandatory` boolean
  - `metaData` object
  - `question` string
  - `visualization` 'NO_IMAGE' | 'IMAGE_ABOVE' | 'IMAGE_BELOW' | 'VIDEO' | 'AUDIO'

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
