Skip to main content
If you’re integrating Hireflix into your own product and want candidates to stay inside your app or website, embedding via iFrame provides a seamless experience. This is especially useful when you want full control over your user experience and don’t want candidates to navigate away from your platform.

Step 1: Basic iFrame Embed

Use a standard HTML5 iFrame and include the Hireflix interview link. Make sure to replace the interview ID.
Always include allow="camera;microphone" so candidates can record video answers.
You can preview a full demo using React or clone an example implementation on platforms like Wix or Webflow.

Step 2: Listening for Interview Events

Hireflix emits postMessage events from the embedded iFrame that your application can subscribe to. This lets you trigger actions such as marking an interview as completed, updating candidate stage, or automatically closing the embed.
Event format:
Supported events: Use these events to trigger updates in your app (e.g., mark interview as completed or redirect the user/show a “Thank You” message).

Step 3: Customizing the Interview UI

Once you’ve created the interview link, you can customize its appearance by adding query parameters to the URL. These parameters help the embedded interview visually blend with your app. Supported parameters: Example

Step 4: Skip the Intro Screen

You can send candidates directly to the first question by appending /preview to the interview link. This bypasses the intro and takes the candidate straight into the interview. Example:

Step 5: Domain and Security Restrictions

For security reasons, Hireflix interviews can only be embedded from trusted domains.
  • If you use a custom domain (e.g., interview.yourdomain.com), it can only be embedded in subdomains of the same domain (like portal.yourdomain.com) or within app.hireflix.com.
  • If you attempt to embed from a different domain, the iFrame will be blocked and show a 404 – Page Not Found error.