Skip to content

How send custom_message in phone verification. #33

@junedShaikh297

Description

@junedShaikh297

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:- twilio/authy-devise#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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions