REST APIAuth
Email a signup or sign-in code
POST
/auth/otpHeader Parameters
X-API-Version?"1"
Send 1 to pin the documented API contract. If omitted, the latest version is selected.
Default
"1"Value in
- "1"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/auth/otp" \ -H "X-API-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "email": "string" }'{ "success": true, "data": { "sent": true }}