V1ApiAuthSet password
Central email authentication: set-password
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/set-password" \ -H "Content-Type: application/json" \ -d '{ "newPassword": "stringstring" }'Empty
Central authentication: revoke-sessions POST
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.
Central authentication: sign-in/email POST
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.