Download OpenAPI specification:Download
This endpoint allows you to create a new user account for the application.
name required | string User account name |
username required | string User name |
email required | string Email address for the new user account |
password required | string Password for the new user account |
repeatPassword required | string Confirming the user's new password |
{- "name": "John Doe",
- "username": "johndoe123",
- "email": "johndoe@example.com",
- "password": "001@Mypassword",
- "repeatPassword": "001@Mypassword"
}
{- "code": 400,
- "message": "Validation error",
- "errors": [
- [
- "email is required",
- "password is required"
]
]
}
This endpoint allows the user to authenticate into the application.
username required | string The username for login |
password required | string The password for login |
{- "username": "johndoe123",
- "password": "001@Mypassword"
}
{- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "issuedAt": "1714233677",
- "expireAt": "1714237277"
}