Skip to documentation
HeyMilo Red University

API reference / Scans

Create a scan

POST /v1/scans

Test this endpoint

Start with a sandbox key: its scans are free and return canned results. Red shows a key once, when you create it. Paste it here to make every sample copy-paste ready. It stays in this browser tab only.

Queues a recording and returns 202 with status PENDING. Needs the scans:create scope and enough balance for the recording's length. Send at least one of video_url, audio_url or transcript.

Body

video_url string, https URL One media field

Public or presigned link to the recording. Red reads it several times while the scan runs, so keep a presigned link valid until the scan finishes; a few hours is safe.

audio_url string, https URL

Audio-only recording, for calls with no video track.

transcript array of objects

Your own transcript. Red uses it instead of transcribing, and can scan a transcript on its own.

Show child attributes

speaker string Required

candidateinterviewer

text string Required

What was said in this segment.

start_sec, end_sec number Required

Segment bounds in seconds from the start of the recording.

external_id string

Your identifier, such as an interview or application id. Returned on every response and webhook.

webhook_url string, https URL

Send this scan's events to this URL only. Your saved webhook endpoints are skipped for this scan. Setting it needs the webhooks:manage scope as well, because the events carry full results. How delivery works.

metadata object of strings

Up to 50 key and value pairs, returned untouched on every API response. Keys up to 64 characters without . or $, values up to 256 characters.

set_ids array of strings

Job groups to add the scan to. An unknown id returns 422, and so does a sandbox key.

participants array of objects

Who is on the recording. Used by the participant identity and contact-data checks, which run only on red.v2 scans.

Show child attributes

name, email string

Who the person is.

role string

For example candidate or interviewer.

reference_image_url string, https URL

Accepted and stored with the scan. Not used for matching yet.

sandbox_scenario string

Sandbox keys only. Picks the canned outcome. cleanflaggedfailed Defaults to clean. A live key that sends it gets 422. What each returns.

result_version string

Which result contract to return. red.v1red.v2 Defaults to red.v1. Compare the two.

taxonomy object

Which checks to run. Red takes vectors if you send them, then template_id with any overrides, then the default profile of the first job group in set_ids that has one, then the workspace default. An unknown template_id returns 422.

Show child attributes

template_id string

overrides array of objects

Change the config of vectors already in the profile, as { vector_id, config }. Needs template_id.

vectors array of objects

Run exactly these vectors instead of a profile.

detection_config object

Switch categories and checks on or off. It only applies when no interview check applies, including job group and workspace defaults, so most integrations should use taxonomy instead. Leave it out for a full scan.

Show child attributes

categories object

Keyed by category, each { "enabled": true }. identitypresenceassistancesession_trustresponse_authenticity

checks object

Keyed by check, overriding its category. For example { "ai_generated_response": { "enabled": false } }. The full list is on Reading a result.

All scans endpoints