{ "to": "9174050*****", "expiry": 300, "otplength": 6, "authway": "SMS" }
curl --location --request POST 'https://app.authyo.io/api/v1/auth/sendotp' \ --header 'clientId;' \ --header 'clientSecret;' \ --header 'Content-Type: application/json' \ --data-raw '{ "to": "9174050*****", "expiry": 300, "otplength": 6, "authway": "SMS" }'
{ "success": true, "message": "submited successfully", "data": { "isTried": 1, "isSent": 1, "results": [ { "success": true, "message": "message submitted successfully", "to": "919898******", "authtype": "WHATSAPP", "maskId": "36eeb3a16fAaAab49b48de0d729b9a35", "createdTime": 1747312374, "expiretime": 1747312434 } ] } }