Account
This page contains the documentation for the account endpoints.
This endpoint allows you to register a user. Once registered, it will return an API key.
The name of the user.
The email address of the user.
The password for the account.
Specifies whether the user has administrative privileges.
falseSuccessful response. Returns an object containing the API key.
The API key used to authenticate and authorize the account.
See message description.
see message description.
This endpoint allows you to login to an account and retrieve an API key.
The email address of the user.
The password of the account.
Successful response. Returns an object containing the API key and the information about the user.
The API key used to authenticate and authorize the account. Use this API key to access the different endpoints.
See message description.
see message description.
This endpoint allows you to validate your API key.
Provide your API key.
Successful response. Returns an object containing information related to the user's access privilege.
Indicates whether the user is authenticated.varios endpoints.
ture: The user is authenticated.false: The user is not authenticated.
Specifies if the authenticated user has administrative privileges. If you have admin privileges, you can make requests to admin-only endpoints.
true: The user has admin privileges.false: The user does not have admin previleges.
See message description.
see message description.
This endpoint allows you to get the info about the users in the application.
Provide your API key.
The page number to retrieve (1-based index). Each page returns 20 users.
Successful response. Returns an object with users statistics in the application.
The total number of users in the application.
The total number of admin users in the application.
The total number of regular users in the application.
See message description.
see message description.
This endpoint allows you to edit a user's details. This requires admin privileges.
Provide your API key.
The user ID of the account to modify.
You can get the list of user ID by using the POST /users/get_all/{page} endpoint.
The new name for the user.
The new email for the user.
The new admin status for the user.
true: The user has admin privileges.false: The user does not have admin previleges.
Successful response. Returns an object containing user information.
See message description.
see message description.
Last updated