interview_def_set_id from Create an interview), there are two ways to get candidates in:
Interview role-plays — the interview-portal variant of a role-play persona — are invited exactly the same way. Pass their
interview_def_set_id as the interview_id below; nothing else changes.Generate links or send invitations
POST /job-interview-register-users handles both, switched by type:
type: "url"— generates a public interview URL (with an embedded JWT) per user. You redirect/send it yourself. No email is sent.type: "invitation"— also subscribes the user to JobMojito’s email chain (invitation, reminders, and completion notifications).
1
Build the user list
Each user needs
name and email. Optional: external_id (your own id, echoed back) and phone (international E.164 format, e.g. +421903123456) for SMS / WhatsApp notifications. A phone already stored on the candidate is never overwritten.2
Call the endpoint
Required fields:
interview_id, type, hide_menu, and users.3
Read the per-user result
The response is an array mirroring your input, with an
interview_url, profile_interview_id, and a result per user (ok or Error: …).Fields
is_test: truemints test links. They also work on a draft interview (the current questions are compiled first), and the result is flagged as a test. Use it with auatinterview and webhook. See Environments and testing.- SMS / WhatsApp. When the interview’s
candidate_notification_channelis set (all,remindersorlast_reminder, onjob-interview-update), candidates with aphonealso receive the invitation and/or reminders by WhatsApp, with SMS as the fallback. Messages are charged at the carrier price (1 credit per €1). This needs a paid plan.
Alternative: invite to the merchant
POST /invite-users invites people to the merchant and can attach candidates to an interview. It also supports mentor, merchant, and merchant_owner types.
type: "candidate", interview_id is required. Optional: force_invite (resend pending invites), mojito_language_code (defaults en), and message_from_recruiter. Each user comes back with a result such as Invited, Activated, Skipped, or Error: ….
Next steps
Review results
Track who finished and read their scored transcripts.
Pre-screen candidates
Score résumés before spending interview credits.