Get levels with questionnaires

Overview

Use this method to retrieve a list of all verification levels that include verification steps linked to questionnaires.

Request example

curl -X GET \
  'https://api.sumsub.com/resources/api/questionnaires/usedByLevels'

Response explained

The response is a JSON object containing a list of all verification levels linked to questionnaires.

The following is a root-level attribute:

FieldTypeDescription
listObjectIncludes data with items, totalItems.

list attributes

The following table explains the list attributes.

FieldTypeDescription
itemsArray of objectsEach item is an object that represents a link between a verification level and a questionnaire.

⚠️ When a verification level is linked to multiple questionnaires, the items array includes separate objects for each linked questionnaire, all sharing the same level identifier.
totalItemsIntegerTotal number of items in the list.

items element fields

The following table describes the fields of each items element, indicating the verification levels to which specific questionnaires are linked.

FieldTypeDescription
levelIdStringUnique verification level identifier.
levelNameStringThe level name given to the verification level when it was created, and that cannot be changed afterwards.
questionnaireIdStringUnique entity identifier of the questionnaire. It is automatically assigned to the ID field during questionnaire creation and can be modified before the questionnaire is created. Used for most questionnaire-linked scenarios in the Dashboard.

Response examples

If the request is sent and processed successfully, you will receive a response like the following:

{
  "list": {
    "items": [
      {
        "levelId": "67adcf32e0f915153a73327b",
        "levelName": "full_verification_level",
        "questionnaireId": "questionnaire1"
      },
      {
        "levelId": "67ade7d9df11be7bcaf2d5b7",
        "levelName": "advanced_level",
        "questionnaireId": "questionnaire3"
      },
      {
        "levelId": "67adcf32e0f915153a767266",
        "levelName": "multiple-questionnaires-level",
        "questionnaireId": "questionnaire1"
      },
      {
        "levelId": "67adcf32e0f915153a767266",
        "levelName": "multiple-questionnaires-level",
        "questionnaireId": "questionnaire2"
      }
    ],
    "totalItems": 4
  }
}

If the request fails, you will receive an HTTP response containing an error code along with a message explaining the error. For example:

{
  "code": 403,
  "correlationId": "67c0b4b9034£920db5ee0£d9сc2a0d£c",
  "description": "You don't have this feature enabled, please contact us"
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!