For the complete documentation index, see llms.txt. This page is also available as Markdown.
Voice Enrollment
This Endpoint is used to register a new voice. It receives one or more audio files and returns a voice template (voice template). The voice template is a string that contains the biometric information of the voice. This template can be used to authenticate voices in the future. The audio files can be encrypted or not, and encoded in Base64. The returned template is always encrypted and encoded in Base64. It accepts 1 audio file, or 3 to 5 audio files, to perform text-independent or text-dependent enrollment, respectively:
1 audio file for text-independent enrollment (text-independent).
3 to 5 audio files for text-dependent enrollment (text-dependent).
Supported audio formats
Format
WAV
MP3
Opus/OGG
AAC
WMA
PCM ulaw and mulaw
FLAC
ALAC (mov)
MP4
AIFF
Endpoint
POST /voice/enrollment
Headers
Name
Type
Required
Description
x-api-key
string
Yes
Access authorization API key.
family
string
No
Value: Onboarding. Required with the tracking service.
All calls to the Endpoints for Tracking with Identity Platform must contain the header family.
Request body
Content-Type:application/json
Parameters
Parameter
Type
Required
Description
audio files
string[]
Yes
Array of strings. Each position in the array is a raw audio buffer encoded in Base64 (RFC4648). Maximum two files. It accepts 1 audio file, or 3 to 5 audio files.
Request example
Responses
200 Success
Response parameters
Parameter
Type
Description
serviceResultCode
integer
Result code indicating the status of the operation. 200 means success.
serviceResultLog
string
Log message related to the result of the operation.
timestamp
string
Date and time when the operation was completed.
serviceTransactionId
string
Unique transaction ID to track the operation.
serviceResult.operation_result
integer
Result code of the enrollment operation.
serviceResult.template
string
Biometric Template encrypted and encoded in Base64.
serviceResult.template_type
string
Type of generated template: text-dependent or text-independent.
serviceResult.validate_audios_result
array
Array with the results of validation of each sent audio file .