Authyo Docs
  1. APIs
Authyo Docs
  • 🐶 Walk through Authyo
  • Error Codes
  • About Pricing
  • APIs
    • Send OTP
      GET
    • Send OTP
      POST
    • Verify OTP
      GET
    • Verify Token
      POST
  • Web SDKs
    • JavaScript
    • PHP
    • AngularJS Examples
    • TypeScript Examples
    • React JS
    • Vue JS Examples
  • Native/Mobile SDKs
    • Flutter
  1. APIs

Send OTP

GET
https://app.authyo.io/api/v1/auth/sendotp

Request

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.authyo.io/api/v1/auth/sendotp?to=&expiry=&otpLength&authWay' \
--header 'clientId;' \
--header 'clientSecret;'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "submited successfully",
    "data": {
        "isTried": 1,
        "isSent": 1,
        "results": [
            {
                "success": true,
                "message": "message submitted successfully",
                "to": "919898******",
                "authtype": "SMS",
                "maskId": "56adc8eb1AaA4a0889599a8bbdf32a95",
                "createdTime": 1747310475,
                "expiretime": 1747310535
            }
        ]
    }
}
Modified at 2025-08-23 07:31:58
Previous
About Pricing
Next
Send OTP
Built with