# Auth

> Source: https://docs.clonepartner.com/api-reference/auth/

Session-based authentication (login, setup, TOTP)

## Endpoints

- [`GET` Check setup status](/api-reference/auth/get-auth-status) — `/api/auth/status`
- [`POST` Initial user setup](/api-reference/auth/setup-auth) — `/api/auth/setup`
- [`POST` Login with credentials](/api-reference/auth/login) — `/api/auth/login`
- [`POST` Set up TOTP for a new user](/api-reference/auth/setup-totp) — `/api/auth/setup-totp`
- [`POST` Verify TOTP code](/api-reference/auth/verify-totp) — `/api/auth/verify-totp`
- [`GET` Validate invite token](/api-reference/auth/validate-invite) — `/api/auth/invite/{token}`
- [`POST` Accept invite and set password](/api-reference/auth/accept-invite) — `/api/auth/accept-invite`
- [`POST` Verify TOTP during invite setup](/api-reference/auth/verify-invite-totp) — `/api/auth/verify-invite-totp`
- [`POST` Logout](/api-reference/auth/logout) — `/api/auth/logout`
- [`GET` Get current user](/api-reference/auth/get-current-user) — `/api/auth/me`
