Developers
V1ApiAuthPhone numberSend otp

Central authentication: phone-number/send-otp

Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.

POST
/api/auth/phone-number/send-otp

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/auth/phone-number/send-otp" \  -H "Content-Type: application/json" \  -d '{    "phoneNumber": "string"  }'
Empty