Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SoftwareVerse/userverse/llms.txt
Use this file to discover all available pages before exploring further.
Log in
PATCH/user/login
Authenticates a user and returns a JWT access token and refresh token pair.
This endpoint uses HTTP Basic Auth. Provide the user’s email as the username and their password as the password.
Request
No request body is required. Credentials are passed via theAuthorization header.
Basic Auth credentials encoded as
Base64(email:password). Example: Basic dXNlckBleGFtcGxlLmNvbTpwYXNzd29yZA==Response
Returns a202 Accepted response with a token payload on success.
Human-readable status message. Example:
"User logged in successfully"Error codes
| Code | Description |
|---|---|
400 | Malformed request or missing credentials. |
401 | Invalid email or password. |
404 | No account found for the provided email. |
500 | Internal server error. |
Example
Create a user
POST/user/create
Creates a new user account. Credentials are supplied via Basic Auth and additional profile fields are provided in the request body.
This endpoint uses HTTP Basic Auth. Provide the new user’s email as the username and their desired password as the password.
Request
Basic Auth credentials encoded as
Base64(email:password). The email and password become the new user’s login credentials.User’s first name.
User’s last name.
User’s phone number. Example:
"1236547899"Response
Returns a201 Created response with the new user’s profile on success.
Human-readable status message. Example:
"User created successfully"Error codes
| Code | Description |
|---|---|
400 | Malformed request body or validation error. |
401 | Missing or invalid Basic Auth credentials. |
404 | Resource not found. |
500 | Internal server error. |