node-authy
node-authy copied to clipboard
How send custom_message in phone verification.
authy .phones() .verification_start( phoneNumber, "1", { via: "sms", custom_message: "Your verification code for app name" }, function (err, result) { if (err) { response.error(err.message || err.errors.message); } else { response.success(result); } } );
Follow params that used in package.
Enabled 2FA Authentication by following this link:- https://github.com/twilio/authy-devise/issues/78 Still getting this response:- { message: "Phone verification couldn't be created: custom messages are not allowed.", success: false, errors: { message: "Phone verification couldn't be created: custom messages are not allowed." }, error_code: '60021' } need help!