Skip to main content
GET

Get Team Members

Returns a list of team members with their task statistics and latest mood data.
This endpoint is only accessible to users with manager or admin roles.

Request

string
required
Bearer token from authentication

Response

Returns an array of team members:
string
User ID
string
User’s full name
string
User’s email address
string
User’s role: employee, manager, or admin
boolean
Whether the user account is active
object
Task statistics object containing: - total: Total tasks assigned - pending: Pending tasks - inProgress: Tasks in progress - completed: Completed tasks
object | null
Latest mood check-in or null if none: - score: Mood score (1-5) - timestamp: ISO timestamp of the check-in