Skip to main content
POST
/
v1
/
auth
/
otp
Request OTP
curl --request POST \
  --url https://api.runly.pro/v1/auth/otp \
  --header 'Content-Type: application/json' \
  --data '
{
  "identity": "dow@runly.me",
  "type": "login"
}
'
{
  "status": {
    "code": 200,
    "message": "OK",
    "trace_id": "tr_otp_123"
  },
  "data": {
    "message": "Verification code dispatched successfully"
  },
  "usage": {
    "latency_ms": 150
  }
}

Body

application/json
identity
string
required
Example:

"dow@runly.me"

type
enum<string>
required
Available options:
login,
register

Response

200 - application/json

Business Response

status
object
required
data
object
output
object
usage
object