V1ApiAuthSign inEmail otp
Central email authentication: sign-in/email-otp
Verified non-admin email accounts can sign in by code or recover a password. New accounts require a live matching email invitation in X-Medbuk-Invitation-Token. Invitations are accepted separately.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/auth/sign-in/email-otp" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "otp": "string" }'Empty
Central authentication: sign-in/email POST
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.
Central authentication: sign-out POST
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.