Skip to main content

API Endpoints

All endpoints are mounted under your chosen prefix (e.g., /api/auth).

Authentication

MethodPathDescription
POST/sign-up/emailRegister with email and password
POST/sign-in/emailLogin with email and password
POST/sign-outLogout

Session

MethodPathDescription
GET/get-sessionGet current session
GET/list-sessionsList all active sessions
POST/revoke-sessionRevoke a specific session
POST/revoke-other-sessionsRevoke all except current
POST/refresh-tokenIssue new session token

Password

MethodPathDescription
POST/request-password-resetSend reset email
POST/reset-passwordReset with token
POST/change-passwordChange (authenticated)

Email Verification

MethodPathDescription
POST/send-verification-emailSend verification
POST/verify-emailVerify with token

OAuth

MethodPathDescription
POST/sign-in/{provider}Initiate OAuth flow
GET/callback/{provider}OAuth callback

Account

MethodPathDescription
PUT/update-userUpdate profile
GET/list-accountsList linked accounts
POST/unlink-accountUnlink account
POST/delete-userDelete user

Health

MethodPathDescription
GET/okHealth check