Phone Verification (OTP)
Send OTP verification code
post/verify/send
Request
- Base URL: https://api.envoisms.ma/v1
- URL: https://api.envoisms.ma/v1/verify/send
- Auth: HTTP bearer
Request body
Example request
{
"to": "+212612345678",
"package_name": "ma.monapp.ecommerce",
"signature_hash": "AbCdEf12345",
"app_id": "vra_82fb5a71",
"cascade": [
"whatsapp",
"sms"
],
"brand": "MaSociété",
"template": "Code {{brand}}: {{code}}. Ne partagez jamais ce code.",
"otp_button_text": "Copier le code",
"web_otp_domain": "https://monsite.ma",
"app_hash": "vG1k6XyZ1aB"
}Response
OTP sent
Example response
{
"status": "sent"
}Changes
No recorded changes to this operation across all 1 revision of this API.