List the Members of a Team

GET/api/teams/{id}/members

Resolves the comma separated members column of the team into the matching staff users. Salary, date of hire and every other team_member_job_info column are never part of the response, and neither are password, ssn or dob.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Team unique ID
curl -X GET "https://yoursite.com/api/teams/123/members" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  {
    "id": "3",
    "first_name": "Fname",
    "last_name": "Lname",
    "email": "member@example.com",
    "phone": "1234567890",
    "job_title": "Designer",
    "user_type": "staff",
    "status": "active",
    "image": null,
    "gender": "female",
    "created_at": "2026-01-15 10:00:00",
    "last_online": "2026-07-23 09:15:00"
  }
]

Error-Response:

HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }
MethodGET
Path/api/teams/{id}/members
GroupTeam
Sincev1.0.0
Defined inRestApi/Controllers/TeamController.php