Reputation: 3
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
Reputation: 59
You can specify a certain type of workflow. https://developer.vonage.com/en/verify/guides/workflows-and-events
Upvotes: 0
Reputation: 3233
You need to contact nexmo support [email protected] and ask them to disable TTS on Verify.
Upvotes: 0