# #11 Security Questions

## #11.1 Get All Active Questions :

## GET /Onboarding/api/v1/onboarding/SecurityQuestionsInfo

>

```json
{"openapi":"3.0.1","info":{"title":"eKYC Onboarding APIs (Local Env.)","version":"1.0"},"security":[{"JWT":[]}],"components":{"securitySchemes":{"JWT":{"type":"apiKey","description":"Please insert JWT with Bearer into field","name":"Authorization","in":"header"}},"schemas":{"SecurityQuestionDropdownDto":{"type":"object","properties":{"id":{"type":"integer","format":"int32","description":"Question unique identifier"},"question":{"type":"string","nullable":false,"description":"Question text"}},"additionalProperties":false},"CustomException":{"type":"object","properties":{"message":{"type":"string","nullable":true,"description":"Error description message"},"errorCode":{"type":"string","nullable":true,"description":"Error Code"}},"additionalProperties":false}}},"paths":{"/Onboarding/api/v1/onboarding/SecurityQuestionsInfo":{"get":{"tags":["SecurityQuestionsInfo"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SecurityQuestionDropdownDto"}}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomException"}}}}}}}}}
```

This API is to get all active questions provided by organization.

## #11.2 Insert Question Answer :

## POST /Onboarding/api/v1/onboarding/SecurityQuestionsInfo

>

```json
{"openapi":"3.0.1","info":{"title":"eKYC Onboarding APIs (Local Env.)","version":"1.0"},"security":[{"JWT":[]}],"components":{"securitySchemes":{"JWT":{"type":"apiKey","description":"Please insert JWT with Bearer into field","name":"Authorization","in":"header"}},"schemas":{"InsertSecurityQuestionsInfoDto":{"type":"object","required":["securityQuestionId","answer"],"properties":{"securityQuestionId":{"type":"integer","format":"int32","description":"Question Identifier given from list if questions"},"answer":{"type":"string","nullable":false,"description":"Answer of the specific question"}},"additionalProperties":false},"SuccessStatusStatusResultDto":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/SuccessStatus"}},"additionalProperties":false},"SuccessStatus":{"type":"integer","format":"int32","description":"Indicates the result of the operation. 0 = Success, 1 = Failed.","enum":[0,1]},"CustomException":{"type":"object","properties":{"message":{"type":"string","nullable":true,"description":"Error description message"},"errorCode":{"type":"string","nullable":true,"description":"Error Code"}},"additionalProperties":false}}},"paths":{"/Onboarding/api/v1/onboarding/SecurityQuestionsInfo":{"post":{"tags":["SecurityQuestionsInfo"],"parameters":[],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsertSecurityQuestionsInfoDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessStatusStatusResultDto"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomException"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomException"}}}}}}}}}
```

This API is to add list of answers of multiple questions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lumin-soft.gitbook.io/ekyc/integration-throw-api/onboarding-api/11-security-questions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
