Skip to main content
POST
/
v3
/
questionnaires
Create Questionnaire
curl --request POST \
  --url https://verification.didit.me/v3/questionnaires/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "title": "Customer Onboarding",
  "description": "Additional information needed for verification",
  "default_language": "en",
  "languages": [
    "en"
  ],
  "is_active": true,
  "form_elements": [
    {
      "element_type": "short_text",
      "label": {
        "en": "What is your occupation?"
      },
      "is_required": true
    },
    {
      "element_type": "multiple_choice",
      "label": {
        "en": "Source of funds"
      },
      "is_required": true,
      "options": [
        {
          "label": {
            "en": "Employment"
          }
        },
        {
          "label": {
            "en": "Business"
          }
        },
        {
          "label": {
            "en": "Investments"
          }
        },
        {
          "label": {
            "en": "Other"
          }
        }
      ]
    }
  ]
}
'
{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "<string>",
  "description": "<string>",
  "languages": [
    "<string>"
  ],
  "default_language": "<string>",
  "is_active": true,
  "is_simple_questionnaire": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "question_types": [
    "<string>"
  ],
  "workflow_names": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Response

Questionnaire created.

uuid
string<uuid>
title
string
description
string | null
languages
string[]
default_language
string
is_active
boolean
is_simple_questionnaire
boolean
created_at
string<date-time>
updated_at
string<date-time>
question_types
string[]
workflow_names
string[]