Skip to main content
POST
/
v1
/
auth
/
otp_sms
Send a one-time password via SMS
curl --request POST \
  --url https://api.tread-horizon.com/v1/auth/otp_sms \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "<string>"
}
'
{
  "data": {
    "phone_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tread.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Body

application/json
phone
string
required

Response

Created

data
OtpSms-Read · object
required