4/10/2023 0 Comments Send otp to friends![]() Your code is *%token*",Ĭreating a Verify object to send an OTP via Email "template": "This is a test message from the MessageBird Verify API. ![]() The default OTP length is 6 digits, you can configure it to be anywhere between 6 and 10 digits.Set the length of the OTP code in the `tokenLength` field.Set the validity of the code in seconds in the `timeout` parameter.Set type parameter to `sms`, `flash` or `tts` according to the channel you’d like to send the OTP.This is the number that receives the OTP code Add the recipient number in the `recipient` field.This is the number from which the SMS or the call is made. Add your “from” number in the `originator` field. ![]() The first ones you send will typically end up in the recipient's spam folder during the first 24 hours while the IP is warmed up.Ĭreating a Verify object to send an OTP via SMS or Voice Test your Email channel before going live.To send via Email, you'll need to have an Email channel configured in MessageBird.For SMS and Voice OTPs, you can use your test credits. If you want to send OTPs via the Email channel, you need to have a valid balance in your account to send OTPs, even when you’re testing it out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |