👥Users Routes

Documentation for the Stelo Finance users routes

The /users routes are used for any requests pertaining to any user.

Users Route Auth

All routes in /users utilize the guest auth, please refer to Auth to learn more.

Create User

POST https://api.stelo.finance/users

Create a new user account.

Request Body

NameTypeDescription

username*

string

2-32 characters, alphanum

password*

string

8-32 characters

G000: Invalid JSON Body
U000: Username Taken

Create user session

POST https://api.stelo.finance/users/{username}/sessions

Create a user session, and retrieve a session cookie (default), or retrieve in JSON body.

Path Parameters

NameTypeDescription

username*

string

Request Body

NameTypeDescription

password*

string

return_token

boolean

return user token in JSON body instead of cookie

G000: Invalid JSON Body
U001: Invalid Username or Password

Last updated