Create Voice Settings

Prior to enrolling in a voice sample, we need to define the settings to be used.

Create Voice Settings

POST Https://api.biometrid.com/api/1.1/users/:userId/voice/text-dependent

Create Voice Settings -> If no fields are specified than the default values from the microservice will be used

Path Parameters

Name
Type
Description

userId

string

Biometrid User ID

Headers

Name
Type
Description

Content-Type

string

Request content type (This is not required to be set. Referenced only to show how we expect data to be sent). {"Content-Type": "multipart/form-data"}

x-biometrid-key

string

Application Client Key

x-biometrid-secret

string

Application Client Secret

Request Body

Name
Type
Description

settings

object

settings.channel

string

Default: MIC

settings.saveSamples

string

Default: true

settings.matchValue

string

Default: 1

settings.replayScore

string

Default: 1

settings.diarizationValue

string

Default: 1

settings.reverberationValue

string

Default: 1

settings.rules

object

settings.rules.spoofScore

string

Default: 0.5

settings.rules.noiseValue

string

Default: 12

settings.rules.speechLengthMinEnroll

string

Default: 1.5

settings.rules.speechLengthMaxEnroll

string

Default: 5

settings.rules.speechLengthMinVerify

string

Default. 5

settings.rules.speechLengthMaxVerify

object

Default: 15

{
  "status": true,
  "data": {
    "message": "DIALOGUE_STARTED_WITH_SUCCESS",
    "enrollmentId": "6110f0d6b78a5c7cb9b834fb"
  }

Last updated

Was this helpful?