V1ApiAuthEmail otpSend verification otp
Central email authentication: email-otp/send-verification-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/email-otp/send-verification-otp" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "type": "sign-in" }'Empty
Central email authentication: email-otp/reset-password POST
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.
Central authentication: get-session GET
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.