Enroll voice
POST /v2/enrollments/voice
Enroll voice for voice recognition. Requires user_id, phrase, and at least one voice recording of that phrase.
The voiceprint is built from four recordings. Supply four distinct takes: with fewer, the missing ones are padded with a copy and the resulting print carries a single take’s worth of variation, which verifies unreliably. A short enrollment still succeeds and reports meta.warnings.
Authorizations
Request Body required
object
object
Optional human-readable label for the user (e.g. an email), recorded on the transaction for display. Never used as an identity; user_id remains the biometric key.
The phrase the user speaks in every recording. It applies to all four takes.
Optional vocabulary constraint.
Recordings (e.g. WAV, MP3) of the user speaking phrase. Repeat the voice part once per recording; four distinct takes are strongly recommended.
Responses
200
Enrollment attempt completed. A rejected recording also returns 200:
meta.message is then failed to enroll voice and data.status is
error or qafailed. Check the status field, not the HTTP status.
object
Endpoint-specific payload; omitted when the operation returns no data.
Scoring decision computed for the request when a scoring system applies.
object
Decision status from the scoring engine (e.g. pass, fail, refer).
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
object
good (enrolled now) or enrolled (already enrolled) on success;
error or qafailed when the recording was rejected.
object
object
400
Bad Request / Parameter Validation Failed.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
401
Unauthorized / Missing or Invalid Authentication Credentials.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
403
Forbidden / Service Not Enabled or Consent Required.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
422
Unprocessable Entity / Face not detected, audio unreadable, or file payload syntax error.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
500
Internal Server Error.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.