Caren Divinagracia
Caren Divinagracia

Reputation: 3

How to disable text-to-speech in verify user API in Nexmo?

And so I have this code:

const nexmo = require("./nexmo");

const requestId = null;

module.exports = function sendVerificationCode(
  recipient
) {
  return new Promise((resolve, reject) => {
    nexmo.verify.request({
        number: recipient,
        brand: 'Verification' 
    }, function(err, result) {
        if (result.status === 0) {
            requestId = result.request_id;
        }

        return requestId;
    });
  });
};

This successfully returns the request ID. But what I'm concerned about is I want the API's text-to-speech mechanism to be disabled. How?

Upvotes: 0

Views: 379

Answers (2)

You can specify a certain type of workflow. https://developer.vonage.com/en/verify/guides/workflows-and-events

Upvotes: 0

Sam Machin
Sam Machin

Reputation: 3233

You need to contact nexmo support [email protected] and ask them to disable TTS on Verify.

Upvotes: 0

Related Questions