Skip to content

API Reference

jamster edited this page Aug 10, 2026 · 2 revisions

Server API Reference

This page documents all HTTP/S endpoints for Quorum's public and private server modules.


Quorum-Public Endpoints

NOTE: Please note any Parameters/Body variable that ends with '?' means this is optional. e.g., email in signup has a '?' as this is optional to pass to the endpoint.

Authentication

Endpoint Method Description Parameters/Body Response
/auth/signup POST Create a new user account. { username, email?, password } { success, username, email, created_at, access_token, refresh_token, expires_in, message, backup_codes }
/auth/login POST Log in an existing user. { email/username, password } { success, username, email, created_at, access_token, refresh_token, expires_in, message }
/auth/delete POST Delete a user account. { username/email, password, user_id } { success, username, email, created_at, tokens, message }
/auth/me POST Get the current user's profile. { user_id, username/email, password, fields } { success, data, message }
/auth/refresh POST Refresh the user's authentication token. { user_id, refresh_token } { success, username, email, created_at, access_token, refresh_token, expires_in, message }
/auth/logout POST Log out the current user. { user_id, refresh_token } { success, username, email, created_at, access_token, refresh_token, expires_in, message }
/auth/updateuserprofile POST Update the current user's profile. { user_id, email?, username } { success, username, email, created_at, access_token, refresh_token, expires_in, message }

Other Endpoints

Endpoint Method Description Parameters/Body Response
/health GET Check the server's health status. None { status, critical }
/echo POST Echo back the request body. { Any Text } { Any Text }

Quorum-Private Endpoints

NOTE: Please note any Parameters/Body variable that ends with '?' means this is optional. e.g., email in signup has a '?' as this is optional to pass to the endpoint.

Other Endpoints

Endpoint Method Description Parameters/Body Response
/health GET Check the server's health status. None { status, critical }
/echo POST Echo back the request body. { Any Text } { Any Text }

Clone this wiki locally