JobMojito
Home
Public pageAdmin app
Home
Public pageAdmin app
  1. Integration
  • Welcome
  • API keys creation
  • API usage and libraries
  • Vibe coding
  • Platform
    • Interview credits
    • Interview workflow
    • Interview types
    • Interview turn detection
    • Scoring
    • Scoring verification: using Psychometric assessment
    • Risk assessment
    • Data privacy model
    • Custom web domain
    • Multi language support
    • Avatars
    • Required access from client devices
  • Integration
    • iFrame embedding of the interview
  • Actions API
    • Invite, Create interview URL for users
    • Invite, Interview URL for existing user
    • Invite, Email users invitation
    • 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
    • Candidate request another interview attempt
    • New knowledge base document
    • Pre screening resume text
    • Pre screening resume binary
    • Create pre-screening
    • Set interview state
  • 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 result
  • Schemas
    • Schemas
      • job-interview-register-users
      • pdf-report-features
      • job-interview-custom-scoring
      • job-interview-type
      • candidate_expectations_json
      • prescreening-form
      • pre-screening-form-fields
      • pre-screening-assessment-rules
      • position_def_set
      • profile_to_mentor
      • interview_categories
      • payments
      • resume_check_recommendations
      • resume_check_writing
      • interview_recommended_sessions
      • marketing_user_unsubscribe
      • marketing_def_chain
      • sales_agent
      • trivia_game
      • interview_result
      • marketing_user_chain
      • marketing_def_chain_email
      • position_result_step
      • sales_agent_result
      • resume_check
      • position_def_step
      • catalogue_tag
      • profile_interview_stats
      • marketing_user_email
      • blog_tag
      • interview_file_page
      • interview_def_pre_screening
      • blog
      • cover_letter
      • profile_to_sub_merchant
      • interview_templates
      • interview_result_question
      • knowledge_base
      • interview_result_pre_screening
      • position_result
      • knowledge_base_store
      • analytics
      • interview_videos
      • sales_agent_result_question
      • trivia_answer
      • interview_def_question
      • analytics_events_by_day
      • interview_def_response
      • resume_check_images
      • profile
      • knowledge_base_chunks
      • webhooks
      • interview_file
      • analytics_coachig_by_day
      • interview_def_set
      • pricing
      • profile_interview
      • merchant
      • catalogue_industry
      • notifications
      • marketing_def_unsubscribe_group
    • RequestBodies
      • Args
      • Args2
      • Args3
      • Args4
      • Args5
      • Args6
      • Args7
      • Args8
      • Args9
      • Args10
      • Args11
      • Args12
  1. Integration

iFrame embedding of the interview

An interview can be embedded into a webpage using an iframe approach.

Creating an embedding#

To embed the interview into your platform, you need to create an embedding record. There are two ways to do this.

Create from the admin portal#

Navigate to https://app.jobmojito.com/integrations and choose the iFrame embedding tab. Here, you can manage all created interview embeddings.
image.png
You can open the embedding details, including copy-and-paste sample implementation code for your preferred language.
image.png

Create via API#

All interview creation and status endpoints have an is_embedded parameter. Once this parameter is set to true, an embedding configuration will be created, and all necessary information, such as embed_id and embed_signing_key, will be provided in the response.

Creating a link (unauthorized)#

If you want to embed an unauthorized interview on your platform, add an iframe with a link in the following format:
https://try.interviewmojito.com/embed?embed_id=[embed_id]
Note that embed_id is different from interview_id and position_id. The embed_id is available in the Integrations tab or in the API response.
<iframe src="https://try.interviewmojito.com/embed?embed_id=0cc9243a-e182-4b95-bcb2-895ceb9d1202" width="100%" height="600" frameborder="0" title="Interview"></iframe>
User flow:
1.
The user will see the details of the position.
2.
The user will be asked to authenticate using single sign-on (SSO) or email and an OTP code.
3.
The user will take the interview.
4.
The user will see the result screen. You can turn off the result screen by changing result_view via the API or in the admin portal to none.
5.
After submission, the user will see a success page.

Creating a link (authenticated)#

If your user is already authenticated in your platform, you can create a link that includes the user's name, email, and signature.
Our platform will automatically log in the user and skip the authentication step completely. The first screen the user will see will be the start of the interview.
User flow:
1.
The user will take the interview.
2.
The user will see the result screen. You can turn off the result screen by changing result_view via the API or in the admin portal to none.
3.
After submission, the user will see a success page.
How to create parameters:
name: base64EncodeUtf8(name)
email: base64EncodeUtf8(email)
signature:
Sample link:
https://try.interviewmojito.com/embed?embed_id=0cc9243a-e182-4b95-bcb2-895ceb9d1202&name=TXIuIEJyb3duIGRzYWRhc2RhIGRz&email=am96b0Bqb3pvLnNr&signature=95507ef1a2044f04434fefe7d860aacfe61bba2e6e0eb79fa2edcd654777fc79

onMessage events from the iframe#

The iframe sends messages to the parent window, so you can take action in your application based on different events. See the JavaScript reference here: https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
loaded -> The user has loaded the interview page and is ready to start the interview.
result -> The user has completed the interview and is currently on the result screen.
success -> The user has completed and submitted the interview.
Modified at 2026-03-20 12:20:25
Previous
Required access from client devices
Next
Invite, Create interview URL for users
Built with