-
-
Notifications
You must be signed in to change notification settings - Fork 1
API Users
Saiful Alam Rakib edited this page Apr 22, 2026
·
1 revision
User lookup endpoints for finding and viewing registered users. These endpoints are useful when managing team membership.
Base path: /api/v1/users
| Method | Endpoint | Description |
|---|---|---|
GET |
/users |
List users |
GET |
/users/{user} |
Get a single user |
List registered users. Useful for looking up user IDs before adding them to a team.
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
search |
string | Search by name or email |
active_team_id |
integer | Filter by active team |
sort_by |
string | Column to sort by |
per_page |
integer | Results per page |
Response 200:
{
"data": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"active_team_id": 1
},
{
"id": 2,
"name": "Jane Doe",
"email": "jane@example.com",
"active_team_id": 1
}
],
"links": { ... },
"meta": { ... }
}Get a single user's profile by ID.
Response 200:
{
"success": true,
"data": {
"id": 2,
"name": "Jane Doe",
"email": "jane@example.com",
"active_team_id": 1
}
}TOKEN="YOUR_TOKEN"
BASE="https://bills.msar.me/api/v1"
# Search for a user by name
curl "$BASE/users?search=Jane" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/json"
# Get a specific user
curl "$BASE/users/2" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/json"The typical workflow to add someone to a team:
-
Find the user —
GET /users?search=jane@example.com - Copy the user ID from the response
-
Add to team —
POST /teams/{team}/memberswith{ "user_id": 2 }
See API – Teams for full team member management documentation.
© Bill Organizer - Free for Personal use | Need paid license for Commercial use