User Security API π‘ BETA
The user family holds the routes mounted for the signed-in user and personal API keys.
Endpoints
Exact lines from the Generated api-user reference; the generated page is the full table.
| Method | Path |
|---|---|
| GET | /api/user/api-keys |
| GET | /api/user/billing/invoices |
| GET | /api/user/billing/payment-methods |
| GET | /api/user/billing/plan |
| GET | /api/user/current-org |
| POST | /api/user/data/export |
| GET | /api/user/notifications/preferences |
| GET | /api/user/organizations |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
GET /api/user/api-keys HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| User api keys | GET /api/user/api-keys |
botserver/crates/botsettings/src/settings_api/saas_jwt_secret.rs |
| Billing invoices | GET /api/user/billing/invoices |
botserver/crates/botsettings/src/settings_api/saas_jwt_secret.rs |
| Billing payment methods | GET /api/user/billing/payment-methods |
botserver/crates/botsettings/src/settings_api/saas_jwt_secret.rs |
| Billing plan | GET /api/user/billing/plan |
botserver/crates/botsettings/src/settings_api/saas_jwt_secret.rs |
| User current org | GET /api/user/current-org |
botserver/src/main_module/routes/misc_handlers/handle_dns_remove.rs |
| Export data | POST /api/user/data/export |
botserver/crates/botsettings/src/settings_api/saas_jwt_secret.rs |
| Notifications preferences | GET /api/user/notifications/preferences |
botserver/crates/botsettings/src/settings_api/saas_jwt_secret.rs |
| User organizations | GET /api/user/organizations |
botserver/src/main_module/routes/misc_handlers/handle_dns_remove.rs |
Limits
- The Generated api-user reference is authoritative: no endpoint outside its table is inferred here.
- Routes require an authenticated session unless listed in the anonymous allowlist in
botsecurity-auth/src/auth_api/public_routes.rs. - The generated table does not model request or response fields; consult the mounted handler for them.
Related
- Generated api-user reference - Full verified route table.
- Audit Logs
- Notifications