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.
Get user profile
GET/user/get
Returns the profile of the currently authenticated user.
Request
JWT Bearer token. Example:
Bearer <access_token>Response
Returns a200 OK response with the user’s profile.
Human-readable status message. Example:
"User found"Error codes
| Code | Description |
|---|---|
400 | Malformed request. |
401 | Missing or invalid Bearer token. |
404 | User not found. |
500 | Internal server error. |
Example
Update user profile
PATCH/user/update
Updates one or more fields on the authenticated user’s profile. All body fields are optional — only the fields you include will be changed.
Request
JWT Bearer token. Example:
Bearer <access_token>New first name.
New last name.
New phone number. Example:
"1236547899"New password.
Response
Returns a201 Created response with the updated user profile.
Human-readable status message. Example:
"User updated successfully"Error codes
| Code | Description |
|---|---|
400 | Malformed request body or validation error. |
401 | Missing or invalid Bearer token. |
404 | User not found. |
500 | Internal server error. |
Example
List user companies
GET/user/companies
Returns a paginated list of companies associated with the authenticated user.
Request
JWT Bearer token. Example:
Bearer <access_token>Number of records to return per page. Minimum
1, maximum 100.Page number to retrieve (1-indexed).
Filter results by the user’s role name within the company.
Filter results by company name.
Filter results by company description.
Filter results by industry.
Filter results by company email address.
Response
Returns a200 OK response with a paginated list of companies.
Human-readable status message.
Error codes
| Code | Description |
|---|---|
400 | Malformed request or validation error. |
401 | Missing or invalid Bearer token. |
403 | Account is not active. |
404 | User not found. |
500 | Internal server error. |