Installation
httpx. No audio processing dependencies — the SDK is a pure API client.
Initialisation
Audio input
All methods that accept audio accept any of:Methods
enroll(audio, user_id)
EnrollResponse:
challenge(exclude_phrase?)
ChallengeResponse:
verify(audio, *, voiceprint_id?, challenge_id?)
VerifyResponse:
token(token_id, token_jwt?)
token_jwt for authoritative JWT signature + expiry validation. Without it the endpoint returns a lightweight status check.
policy(token, action)
receipt(token, action, result, metadata?)
Error handling
All methods raiseVoiceMarkError on failure: