User

Get the current user's information

get
Responses
200

Successfully retrieved user information.

application/json
get
/user
200

Successfully retrieved user information.

Create a new user

post
Body
namestringRequired

The name of the user

emailstring · emailRequired

The email address of the user

passwordstring · passwordRequired

The password for the user

originstringOptional

The origin of the request, e.g., 'mobile' or 'web'

app_versionstringOptional

The version of the application

company_invite_codestringOptional

The company invite code if the user is joining a company

Responses
200

Successfully created a new user.

application/json
post
/user
200

Successfully created a new user.

Update User Information

put
Body
fieldstringRequired

The field to update

Example: email
valuestringRequired

The new value for the field

Example: [email protected]
user_idintegerOptional

The ID of the user to update, defaults to the current session user

Example: 20128
Responses
200

Successfully updated user information.

application/json
put
/user
200

Successfully updated user information.

Delete User

delete
Responses
200

Successfully deleted user.

application/json
delete
/user
200

Successfully deleted user.

Offboard Users

post
Body
company_idintegerRequired

The ID of the company

Example: 385
filestring · binaryRequired

The CSV file containing the emails of users to offboard

Responses
200

Successfully offboarded users.

application/json
post
/users/offboard
200

Successfully offboarded users.

Get IP Data

get
Responses
200

Successfully retrieved IP data.

application/json
get
/user/ipdata
200

Successfully retrieved IP data.

Last updated