JobMojito
HomePublic pageAdmin app
HomePublic pageAdmin app
  1. Actions API
  • Welcome
  • API keys creation
  • API usage and libraries
  • Vibe coding
  • Platform
    • Interview workflow
    • Interview credits
    • Scoring
    • Scoring verification: using Psychometric assessment
    • Risk assessment
    • Data privacy model
    • Custom web domain
    • Multi language support
    • Avatars
  • Actions API
    • Invite, Create interview URL for users
      POST
    • Invite, Interview URL for existing user
      POST
    • Invite, Email users invitation
      POST
    • Interview result, details with transcript
      POST
    • Interview result, generate html/PDF report
      POST
    • Create interview, using position data
      POST
    • Create interview, using position data & candidate pre-screening
      POST
    • Create interview, using provided questions
      POST
    • Candidate request another interview attempt
      POST
  • Tables API
    • interview_def_set
      • /interview_def_set
      • /interview_def_set
      • /interview_def_set
      • /interview_def_set
    • interview_def_pre_screening
      • /interview_def_pre_screening
      • /interview_def_pre_screening
      • /interview_def_pre_screening
      • /interview_def_pre_screening
    • interview_def_question
      • /interview_def_question
      • /interview_def_question
      • /interview_def_question
      • /interview_def_question
    • interview_def_response
      • /interview_def_response
      • /interview_def_response
      • /interview_def_response
      • /interview_def_response
    • interview_file
      • /interview_file
      • /interview_file
      • /interview_file
      • /interview_file
    • interview_file_page
      • /interview_file_page
      • /interview_file_page
      • /interview_file_page
      • /interview_file_page
    • interview_result
      • /interview_result
      • /interview_result
      • /interview_result
      • /interview_result
    • interview_templates
      • /interview_templates
      • /interview_templates
      • /interview_templates
      • /interview_templates
    • interview_result_question
      • /interview_result_question
      • /interview_result_question
      • /interview_result_question
      • /interview_result_question
    • interview_result_pre_screening
      • /interview_result_pre_screening
      • /interview_result_pre_screening
      • /interview_result_pre_screening
      • /interview_result_pre_screening
    • knowledge_base
      • /knowledge_base
      • /knowledge_base
      • /knowledge_base
      • /knowledge_base
    • knowledge_base_store
      • /knowledge_base_store
      • /knowledge_base_store
      • /knowledge_base_store
      • /knowledge_base_store
    • knowledge_base_chunks
      • /knowledge_base_chunks
      • /knowledge_base_chunks
      • /knowledge_base_chunks
      • /knowledge_base_chunks
    • position_def_set
      • /position_def_set
      • /position_def_set
      • /position_def_set
      • /position_def_set
    • position_def_step
      • /position_def_step
      • /position_def_step
      • /position_def_step
      • /position_def_step
    • position_result
      • /position_result
      • /position_result
      • /position_result
      • /position_result
    • position_result_step
      • /position_result_step
      • /position_result_step
      • /position_result_step
      • /position_result_step
    • profile
      • /profile
      • /profile
      • /profile
      • /profile
    • profile_interview
      • /profile_interview
      • /profile_interview
      • /profile_interview
      • /profile_interview
  • Webhooks
    • Creating webhooks
    • Webhook: Interview submitted
  1. Actions API

Create interview, using provided questions

POST
/job-interview-create-from-array
This endpoint create new interview and create questions specified in the questions json object
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

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

đźź 422Invalid input
đź”´500Server error
Modified at 2025-07-15 07:12:22
Previous
Create interview, using position data & candidate pre-screening
Next
Candidate request another interview attempt
Built with