Create interview, using provided questions
POST
/job-interview-create-from-array
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://cool.jobmojito.com/functions/v1/job-interview-create-from-array' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "my code",
"name": "my position name",
"description": "short interview description",
"cover_image_url": "https://",
"visibility": "merchant_public",
"location": "my location",
"type": "interview",
"candidate_expectations": "my expectations",
"interview_template_id": "681a489c-0f5d-4c19-8b1c-6ceadaad3793",
"knowledge_base_store_id": "8267200c-3a48-49f3-9559-b0178ddb8a5c",
"status": "active",
"mojito_language_code": "sk",
"interview_tone": "professional",
"questions": [
{
"id": "1234",
"question": "Have you been in Paris?",
"duration": 23,
"is_conditional": true,
"mojito_language_code": "en",
"question_alternatives": [
"Have you been in London?",
"Have you been in Brussels?"
]
},
{
"id": "5678",
"question": "Tell me the capital city of that country?",
"duration": 40,
"conditional_question_main_id": "1234"
}
]
}'
Response Response Example
200 - Example 1
{
"interview_def_set_id": "8267200c-3a48-49f3-9559-b0178ddb8a5c"
}
Request
Body Params application/json