Better Auth in Rust
OpenAPI Reference

Default

Core v1 endpoints plus the default account and OAuth surfaces.

social sign in

POST
/sign-in/social

Response Body

curl -X POST "https://loading/sign-in/social"
Empty

get session

GET
/get-session

Response Body

curl -X GET "https://loading/get-session"
Empty

sign out

POST
/sign-out

Response Body

curl -X POST "https://loading/sign-out"
Empty

sign up email

POST
/sign-up/email

Response Body

curl -X POST "https://loading/sign-up/email"
Empty

sign in email

POST
/sign-in/email

Response Body

curl -X POST "https://loading/sign-in/email"
Empty

request password reset

POST
/request-password-reset

Response Body

curl -X POST "https://loading/request-password-reset"
Empty

reset password

POST
/reset-password

Response Body

curl -X POST "https://loading/reset-password"
Empty

reset password token

GET
/reset-password/{token}

Response Body

curl -X GET "https://loading/reset-password/{token}"
Empty

verify email

GET
/verify-email

Response Body

curl -X GET "https://loading/verify-email"
Empty

send verification email

POST
/send-verification-email

Response Body

curl -X POST "https://loading/send-verification-email"
Empty

change email

POST
/change-email

Response Body

curl -X POST "https://loading/change-email"
Empty

change password

POST
/change-password

Response Body

curl -X POST "https://loading/change-password"
Empty

verify password

POST
/verify-password

Response Body

curl -X POST "https://loading/verify-password"
Empty

update user

POST
/update-user

Response Body

curl -X POST "https://loading/update-user"
Empty

delete user

POST
/delete-user

Response Body

curl -X POST "https://loading/delete-user"
Empty

delete user callback

GET
/delete-user/callback

Response Body

curl -X GET "https://loading/delete-user/callback"
Empty

list sessions

GET
/list-sessions

Response Body

curl -X GET "https://loading/list-sessions"
Empty

revoke session

POST
/revoke-session

Response Body

curl -X POST "https://loading/revoke-session"
Empty

revoke sessions

POST
/revoke-sessions

Response Body

curl -X POST "https://loading/revoke-sessions"
Empty

revoke other sessions

POST
/revoke-other-sessions

Response Body

curl -X POST "https://loading/revoke-other-sessions"
Empty
POST
/link-social

Response Body

curl -X POST "https://loading/link-social"
Empty

list accounts

GET
/list-accounts

Response Body

curl -X GET "https://loading/list-accounts"
Empty
POST
/unlink-account

Response Body

curl -X POST "https://loading/unlink-account"
Empty

refresh token

POST
/refresh-token

Response Body

curl -X POST "https://loading/refresh-token"
Empty

get access token

POST
/get-access-token

Response Body

curl -X POST "https://loading/get-access-token"
Empty

account info

GET
/account-info

Response Body

curl -X GET "https://loading/account-info"
Empty

ok

GET
/ok

Response Body

curl -X GET "https://loading/ok"
Empty

error

GET
/error

Response Body

curl -X GET "https://loading/error"
Empty