Step 1: Basic iFrame Embed
Use a standard HTML5 iFrame and include the Hireflix interview link. Make sure to replace the interviewID.
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.
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 (likeportal.yourdomain.com) or withinapp.hireflix.com. - If you attempt to embed from a different domain, the iFrame will be blocked and show a 404 – Page Not Found error.

