JobMojito
HomePublic pageAdmin app
HomePublic pageAdmin app
  1. interview_def_set
  • Welcome
  • API keys creation
  • API usage and libraries
  • Vibe coding
  • Platform
    • Interview workflow
    • Interview scoring
    • Data privacy model
    • Custom web domain
  • Actions API
    • Client URL for new user
    • Client URL for existing user
    • Invite user
    • Interview result, details with transcript
    • Interview result, generate html/PDF report
    • Create interview, using position data
    • Create interview, using position data & candidate pre-screening
    • Create interview, using provided questions
  • Tables API
    • interview_def_set
      • /interview_def_set
        GET
      • /interview_def_set
        POST
      • /interview_def_set
        DELETE
      • /interview_def_set
        PATCH
    • 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. interview_def_set

/interview_def_set

PATCH
/interview_def_set
interview_def_set
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://cool.jobmojito.com/rest/v1/interview_def_set?id&created_at&updated_at&deleted_at&name&description&code&cover_image&calc_duration&calc_definition_json&tags&merchant_id&interview_def_question_id&interview_def_response_id&stage&timer&job_level&coach_options&visibility&special_case&calc_interview_text&type_credit&cover_image_url&cover_image_local_path&emoji&speech_language_name&speech_language_code&interview_template_id&type&candidate_expectations&status&interview_salary&interview_location&interview_available_till&interview_description_long&mojito_language_code&processing_error&coach_plan&knowledge_base_store_id&type_avatar&recording&persona_avatar_who_is&persona_avatar_knowledge&persona_avatar_end_conditions&persona_role_avatar&persona_role_user&environment&result_view&result_scoring&collect_resume_cover_letter&mojito_language_sub&billing_single_position&billing_single_position_end_at&pdf_export_auto_config&result_scoring_simulation&candidate_expectations_simulation&slug' \
--header 'Prefer;' \
--header 'Apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1vbXNidm5sdHN5ZGV6bW9lc3F0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTA3MDE0OTksImV4cCI6MjAwNjI3NzQ5OX0.MejArO571bSF0cav3fp_YQEhsF92yn440Iks7Wu1af8' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "gen_random_uuid()",
    "created_at": "now()",
    "updated_at": "now()",
    "deleted_at": "string",
    "name": "string",
    "description": "string",
    "code": "string",
    "cover_image": "string",
    "calc_duration": 0,
    "calc_definition_json": null,
    "tags": [
        "string"
    ],
    "merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea",
    "interview_def_question_id": [
        "string"
    ],
    "interview_def_response_id": [
        "string"
    ],
    "stage": "Interest",
    "timer": "Auto stop standard",
    "job_level": "Intership",
    "coach_options": null,
    "visibility": "merchant_public",
    "special_case": "Demo technical",
    "calc_interview_text": "string",
    "type_credit": "resume_check",
    "cover_image_url": "string",
    "cover_image_local_path": "string",
    "emoji": "string",
    "speech_language_name": "English (United States)",
    "speech_language_code": "en-US",
    "interview_template_id": "a86c39f3-a3b3-4c7a-a9fb-13c70dd7f90a",
    "type": "coaching",
    "candidate_expectations": "string",
    "status": "draft",
    "interview_salary": "string",
    "interview_location": "string",
    "interview_available_till": "string",
    "interview_description_long": "string",
    "mojito_language_code": "en",
    "processing_error": "string",
    "coach_plan": "demo",
    "knowledge_base_store_id": "2ca87032-97d9-4aad-93cf-8f1b336e440c",
    "type_avatar": "offline_elai",
    "recording": "audio_first_5_answers",
    "persona_avatar_who_is": "string",
    "persona_avatar_knowledge": "string",
    "persona_avatar_end_conditions": "string",
    "persona_role_avatar": "string",
    "persona_role_user": "string",
    "environment": "production",
    "result_view": "full",
    "result_scoring": null,
    "collect_resume_cover_letter": "optional",
    "mojito_language_sub": null,
    "billing_single_position": false,
    "billing_single_position_end_at": "string",
    "pdf_export_auto_config": null,
    "result_scoring_simulation": null,
    "candidate_expectations_simulation": "string",
    "slug": "string"
}'
Response Response Example
{}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
id
string 
optional
created_at
string 
optional
updated_at
string 
optional
deleted_at
string 
optional
name
string 
optional
description
string 
optional
code
string 
optional
cover_image
string 
optional
calc_duration
string 
optional
calc_definition_json
string 
optional
tags
string 
optional
merchant_id
string 
optional
interview_def_question_id
string 
optional
interview_def_response_id
string 
optional
stage
string 
optional
timer
string 
optional
job_level
string 
optional
coach_options
string 
optional
visibility
string 
optional
special_case
string 
optional
calc_interview_text
string 
optional
type_credit
string 
optional
cover_image_url
string 
optional
cover_image_local_path
string 
optional
emoji
string 
optional
speech_language_name
string 
optional
speech_language_code
string 
optional
interview_template_id
string 
optional
type
string 
optional
candidate_expectations
string 
optional
status
string 
optional
interview_salary
string 
optional
interview_location
string 
optional
interview_available_till
string 
optional
interview_description_long
string 
optional
mojito_language_code
string 
optional
processing_error
string 
optional
coach_plan
string 
optional
knowledge_base_store_id
string 
optional
type_avatar
string 
optional
recording
string 
optional
persona_avatar_who_is
string 
optional
persona_avatar_knowledge
string 
optional
persona_avatar_end_conditions
string 
optional
persona_role_avatar
string 
optional
persona_role_user
string 
optional
environment
string 
optional
result_view
string 
optional
result_scoring
string 
optional
collect_resume_cover_letter
string 
optional
mojito_language_sub
string 
optional
billing_single_position
string 
optional
billing_single_position_end_at
string 
optional
pdf_export_auto_config
string 
optional
result_scoring_simulation
string 
optional
candidate_expectations_simulation
string 
optional
slug
string 
optional
Header Params
Prefer
enum<string> 
optional
Preference
Allowed values:
return=representationreturn=minimalreturn=none
Apikey
string 
optional
Anon key (constant value)
Example:
{{Apikey}}
Body Params application/json
id
string <uuid>
required
Note:
This is a Primary Key.
Default:
gen_random_uuid()
created_at
string <timestamp with time zone>
required
Default:
now()
updated_at
string <timestamp with time zone>
required
Default:
now()
deleted_at
string <timestamp with time zone>
optional
name
string <text>
optional
description
string <text>
optional
code
string <text>
optional
cover_image
string <text>
optional
calc_duration
number 
optional
calc_definition_json
<jsonb>
optional
tags
array[string]
optional
merchant_id
string <uuid>
optional
Note:
This is a Foreign Key to merchant.id.
interview_def_question_id
array[string]
optional
interview_def_response_id
array[string]
optional
stage
enum<string> <public.type_interview_stage>
optional
Allowed values:
InterestApplication submittedInterview 1st plannedInterview 1st completedInterview 2nd plannedInterview 2nd completedInterview 3rd plannedInterview 3rd completedOffer negotiationsHiredRejectedOffer declinedOther
timer
enum<string> <public.type_timer_type>
optional
Allowed values:
Auto stop standardManual stop
Default:
Auto stop standard
job_level
enum<string> <public.type_job_position_level>
optional
Allowed values:
IntershipEntry-levelMid-levelSenior-levelManagerDirector/ExecutiveSeasonal
coach_options
<jsonb>
optional
visibility
enum<string> <public.type_visibility>
required
Allowed values:
publicmerchant_publicmerchant_invitemerchant_unlistedsub_item
Default:
merchant_public
special_case
enum<string> <public.type_interview_special_case>
optional
Allowed values:
Demo technicalDemo interviewGame
calc_interview_text
string <text>
optional
type_credit
enum<string> <public.type_credit>
optional
Allowed values:
resume_checkinterview_coach_starterinterview_coach_contributorinterview_coach_managercover_letter
cover_image_url
string <text>
optional
cover_image_local_path
string <text>
optional
emoji
string <text>
optional
speech_language_name
string <text>
optional
Default:
English (United States)
speech_language_code
string <text>
optional
Default:
en-US
interview_template_id
string <uuid>
required
Note:
This is a Foreign Key to interview_templates.id.
type
enum<string> <public.type_interview>
required
Allowed values:
coachinginterviewpersona
Default:
coaching
candidate_expectations
string <text>
optional
status
enum<string> <public.type_interview_status>
required
Allowed values:
draftactivearchiveddeletedpreparingcompleted
Default:
draft
interview_salary
string <text>
optional
interview_location
string <text>
optional
interview_available_till
string <timestamp with time zone>
optional
interview_description_long
string <text>
optional
mojito_language_code
string <text>
required
Default:
en
processing_error
string <text>
optional
coach_plan
enum<string> <public.type_interview_plan>
optional
Allowed values:
demoscreening2nd3rdclosingjob-specificother
knowledge_base_store_id
string <uuid>
optional
Note:
This is a Foreign Key to knowledge_base_store.id.
type_avatar
enum<string> <public.type_avatar>
required
Allowed values:
offline_elaioffline_synthesiainteractive_heygenoffline_heygen
Default:
offline_elai
recording
enum<string> <public.type_interview_recording>
optional
Allowed values:
audio_first_5_answersaudio_allvideo_allvideo_first_5_answers
persona_avatar_who_is
string <text>
optional
persona_avatar_knowledge
string <text>
optional
persona_avatar_end_conditions
string <text>
optional
persona_role_avatar
string <text>
optional
persona_role_user
string <text>
optional
environment
enum<string> <public.type_environment>
required
Allowed values:
productionuatdevelopmentdemo
Default:
production
result_view
enum<string> <public.type_interview_result_view>
required
Allowed values:
minimaladvancedfullfull_expand_scoresminimal_with_score
Default:
full
result_scoring
<jsonb>
optional
collect_resume_cover_letter
enum<string> <public.type_hidden_optional_required>
required
Allowed values:
hiddenoptionalrequired
Default:
optional
mojito_language_sub
<jsonb>
optional
billing_single_position
boolean 
required
Default:
false
billing_single_position_end_at
string <timestamp with time zone>
optional
pdf_export_auto_config
<jsonb>
optional
result_scoring_simulation
<jsonb>
optional
candidate_expectations_simulation
string <text>
optional
slug
string <text>
optional
Examples

Responses

🟢204No Content
application/json
No Content
Body
object {0}
Previous
/interview_def_set
Next
/interview_def_pre_screening
Built with