Auth
Get Captcha Configuration
No authentication required. Returns the Cloudflare Turnstile site configuration (used during front-end captcha rendering).
Response
Check if User Exists
Request Body
| Field | Type | Description |
|---|---|---|
login | string | Username or email |
Response
Query Registration Mode
Response
mode values: open (open), invite_only (invitation only), disabled (closed).
Register
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
login | string | Yes | Username |
password | string | Yes | Password |
email | string | Yes | |
invite_code | string | Conditional | Required in invitation-only mode |
locale | string | No | Language preference |
cf_turnstile_token | string | Conditional | Required when Turnstile is enabled |
Response
On success, the server issues the Refresh Token via Set-Cookie (HttpOnly cookie: arkloop_refresh_token).
Login
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
login | string | Yes | Username or email |
password | string | Yes | Password |
cf_turnstile_token | string | Conditional | Required when Turnstile is enabled |
Response
On success, the server issues the Refresh Token via Set-Cookie (HttpOnly cookie: arkloop_refresh_token).
Refresh Token
Notes
No request body is required. The server reads and rotates the Refresh Token from the HttpOnly cookie arkloop_refresh_token.
Response — Same format as login response (only access_token, token_type), and the Refresh Token cookie will be updated.
Logout
Requires Bearer Token. Invalidates the current token and clears the Refresh Token cookie.
Response
Email Verification — Send Verification Email
No request body. Uses the current logged-in user's email.
Email Verification — Confirm
Request Body
| Field | Type | Required |
|---|---|---|
token | string | Yes |
Email OTP Login — Send OTP
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Target email |
cf_turnstile_token | string | Conditional |
Email OTP Login — Verify OTP
Request Body
| Field | Type | Required |
|---|---|---|
email | string | Yes |
otp | string | Yes |
Response — Same format as login response (includes access_token, token_type), and the Refresh Token cookie will be updated.