Give people a realistic practice interview they can repeat as often as they like — perfect for embedding in your own app.
A mock interview is a practice round. It should feel real, but the person
can retry as many times as they want and always gets feedback on how to improve.This is the most common setup for self-serve products (think “practice with AI”
buttons in a learning app).
You need an API key (iv_live_...) from Developer → API Keys. Use it in
the x-api-key header and replace <slug> with your team slug.
curl -X POST "https://www.intervyo.ai/api/v1/roles?accountSlug=<slug>" \ -H "x-api-key: iv_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "template_name": "DSA Mock Interview", "use_case": "training", "description": "A practice coding interview for new grads.", "objective": "Help the candidate feel ready for a real interview.", "success_outcome": "pass_fail", "default_session_mode": "practice_session" }'