Skip to main content

AI interviewer

Screen candidates at scale, or let people rehearse against a realistic interviewer. The identity does the asking — you just start a session and join.

The identity​

The whole behavior lives in the instructions.

curl -sS -X POST https://api.lookalike.com/v1/identities \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-F "name=Interviewer" \
-F "instructions=You are a calm, professional interviewer. Ask one question at a time and wait for the full answer before responding. Never interrupt. Ask a short follow-up when it helps, then move on. Keep your own turns brief." \
-F "avatar_id=avt_stock_sophie" \
-F "voice_id=voc_stock_sophie"
# -> { "id": "id_...", "object": "identity", "status": "active", ... }

The session​

curl -sS -X POST https://api.lookalike.com/v1/sessions \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "identity_id": "id_..." }'

Join with a LiveKit client using the returned transport.url and transport.token — see the Realtime API guide for the full flow.

Make it feel right​

Let silences breathe. The hardest part of an interviewer is not cutting the candidate off while they think. The agent waits for a full turn before it replies, so avoid adding client-side timeouts that end a turn early.

Next​