Authentication

API endpoints specifications

auth

Login and retrieve an authentication token

post

Login and retrieve an authentication token Authentication: not required

Body
emailstring · emailOptional
passwordstringOptional
Responses
200

Success!

application/json
post
/auth/login

Get the user record belonging to the authentication token

get

Get the user record belonging to the authentication token Authentication: required

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Success!

application/json
get
/auth/me

Signup and retrieve an authentication token

post

Signup and retrieve an authentication token Authentication: not required

Body
namestringRequired
emailstring · emailRequired
passwordstringRequired
companystringRequired
Responses
200

Success!

application/json
post
/auth/signup

Last updated