All endpoints require a valid JWT Bearer token in theDocumentation 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.
Authorization header.
List company members
Returns a paginated list of all users who belong to a specific company. Supports filtering by role, name, and email.Path parameters
The ID of the company whose members you want to retrieve.
Query parameters
Page number to retrieve. Must be
1 or greater.Number of records per page. Accepted range:
1–100.Filter results to members with this role name.
Filter results by user first name.
Filter results by user last name.
Filter results by user email address.
Response fields
Human-readable confirmation message.
Paginated response wrapper.
Error codes
| Status | Description |
|---|---|
400 | The request contains invalid query parameters. |
404 | No company found with the given company_id. |
500 | An unexpected server error occurred. |
Example
Add a member
Adds an existing user to a company and assigns them a role.Path parameters
The ID of the company to add the user to.
Request body
Email address of the user to add. Example:
"user.one@email.com".Name of the role to assign to the user within the company. Defaults to
"Viewer" if not specified.Response fields
Human-readable confirmation message.
The updated company record.
Error codes
| Status | Description |
|---|---|
400 | The user is already a member of this company, or the request body is invalid. |
500 | An unexpected server error occurred. |
Example
Remove a member
Removes a user from a company. The user’s account is not deleted.Path parameters
The ID of the company to remove the user from.
The ID of the user to remove.
Response fields
Human-readable confirmation message.
The removed user’s membership record.
Error codes
| Status | Description |
|---|---|
400 | The user is not a member of this company, or the user is a superadmin. |
500 | An unexpected server error occurred. |