Login
Auth
Login
Authenticate with email and password
POST
Login
Authenticates a user with email and password credentials. Returns JWT access and refresh tokens on success. If the account has two-factor authentication enabled, theDocumentation Index
Fetch the complete documentation index at: https://docs.bunship.com/llms.txt
Use this file to discover all available pages before exploring further.
twoFactorCode field is required.
Auth
None required.Rate Limit
20 requests per minute per IP.Request Body
User email address.
User password.
6-digit TOTP code from an authenticator app. Required only if 2FA is enabled on the account.
Response
JWT access token. Expires in 15 minutes.
JWT refresh token. Expires in 7 days. Use this to obtain new token pairs.
Access token expiry in seconds (900).
Authenticated user profile object.
Errors
| Status | Code | Description |
|---|---|---|
401 | AUTHENTICATION_ERROR | Invalid email or password, or missing 2FA code when required |

