Authentication
API endpoints specifications
auth
Login and retrieve an authentication token
Login and retrieve an authentication token Authentication: not required
POSThttps://api.answr.space/api:auth/auth/login
Body
emailstring (email)
passwordstring
Response
Success!
Body
authTokenstring
userstring
Request
Response
Get the user record belonging to the authentication token
Get the user record belonging to the authentication token Authentication: required
GEThttps://api.answr.space/api:auth/auth/me
Authorization
Response
Success!
Body
idinteger (int64)
created_atnumber (timestamptz)
namestring
emailnullable string (email)
roleenum
adminfree-tierpaid-tier-1paid-tier-2
companystring
active_requestsinteger (int64)
Request
Response
Signup and retrieve an authentication token
Signup and retrieve an authentication token Authentication: not required
POSThttps://api.answr.space/api:auth/auth/signup
Body
name*string
email*string (email)
password*string
company*string
Response
Success!
Body
authTokenstring
userstring
Request
Response
Last updated