Back
Glowly APIv1 · stable
Architecture →
POST/v1/auth/otp/request Bearer

Request phone OTP

Sends a one-time SMS code via Twilio.

Headers
Authorization: Bearer eyJhbGciOi...
Content-Type: application/json
X-Client-Version: 1.4.2

All endpoints

Request body
{
  "phone": "+381 60 123 4567"
}
200 OK · Response
{
  "sessionId": "sess_4n2x...",
  "expiresIn": 300
}
cURL
curl -X POST https://api.glowly.app/v1/auth/otp/request \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+381 60 123 4567"}'