Users management
Endpoints related with users management such as login or user update.
Last updated
Endpoints related with users management such as login or user update.
Last updated
POST
https://api.expai.io/api/auth/login
This endpoint allows you to login and get your JWT token that will be used to authorise your operations. Every time you log in, previous tokens generated through the API will be revoked.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://api.expai.io/api/auth/logout
Logout from your account and revoke your active JWT token.
PATCH
https://api.expai.io/api/users/<user-id>
This endpoint allows you to login and get your JWT token that will be used to authorise your operations. Every time you log in, previous tokens generated through the API will be revoked.
POST
https://api.expai.io/api/users/update_password
Update password for your user
POST
https://api.expai.io/api/users/create_user_from_license
Update password for your user
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Content-Type
string
Value: "application/json"
password_des
string
Password for your account
email_des
string
Your email registered at EXPAI
access-token
string
Active JWT token obtained during login
user-id
string
Unique ID that identifies your user
access-token
string
Active JWT token
content-type
string
Value: "application/json"
name_des
string
New name for the user
surname_des
string
New surname for the user
email_des
string
New email for the account
access-token
string
Active JWT token
Content-Type
string
Value: "application/json"
new_password_des
string
New password
password_des
string
Old password
Content-Type
string
Value: "application/json"
captcha_token_des
string
Valid captcha token to validate human users
name_des
string
Name
surname_des
string
Surname
email_des
string
User email
password_des
string
Password for the user
license_key_des
string
Valid EXPAI license key