Has Pending Dialogue

This method is used to know if there is any pending dialogue active at any moment for an user. It should always be called before performing any steps of voice process.

Has Pending Dialogue

GET https://api.biometrid.com/api/1.0/users/:userId/voice/is-pending

Check if User has already an active dialogue.

Path Parameters

Name
Type
Description

userId

string

BiometrID user ID

Headers

Name
Type
Description

x-biometrid-key

string

Application client key.

x-biometrid-secret

string

Application client secret.

HTTP/1.1 200 OK
//Has Pending Dialogue
{
    "status": true,
    "data": {
      "dialogueId": "e99766b5-9b28-4f0e-99dc-30eaa5b4c33d",
      "promptCode": "0653",
      "promptCodeText": "zero six five three"
    }
}
//No Pending Dialogue
{
    "status": true,
}

Last updated

Was this helpful?