/v1/teamstableList team members
- Needs
- Read your data
(mcp:read) - Plan
- Any plan with API access
- Limits
- 300 a minute per key
- Undo
- Nothing to undo: this only reads.
Lists the active staff of your workspace: id, name, roles, teams, team_lead and online. No emails or phone numbers. Disabled staff and app users are never listed. Use a member id wherever a staff id is expected (assigning a conversation, linking your own records to a person). An id that no longer appears here belongs to someone who was disabled or removed: unlink it on your side.
Try it
Query (5)
Name contains.
Only members of this team (a `teams[].id`).
`true`: only members online now; `false`: only members offline.
The `next_cursor` from the previous page. Cursors expire after 24 hours.
How many items per page (1–100).
This only reads. It uses your real data and changes nothing.
Code and response
curl -X GET 'https://api.wa-api.cloud/v1/team' \ -H "Authorization: Bearer $API_KEY"
The code reads your key from $API_KEY.
Parameters
| Field | Type | What it is |
|---|---|---|
| search | string · query | Name contains.1–100 characters |
| team_id | string | integer · query | Only members of this team (a teams[].id).pattern ^\d+$ |
| online | boolean · query | true: only members online now; false: only members offline. |
| cursor | string · query | The next_cursor from the previous page. Cursors expire after 24 hours.1–2048 characters |
| limit | integer · query | How many items per page (1–100).1–100 · default 25 |
Headers
| Field | Type | What it is |
|---|---|---|
| Authorizationrequired | header | Bearer $API_KEY — your API key. |
| Api-Version | header | The API version to use, e.g. 2026-10-01. Default: the version your key is pinned to.one of: 2026-10-01 · pattern ^\d{4}-\d{2}-\d{2}$ |
Response 200
A page of team members.
| Field | Type | What it is |
|---|---|---|
| datarequired | array of object | |
| idrequired | string | |
| namerequired | string or null | |
| rolesrequired | array of string | |
| teamsrequired | array of object | |
| idrequired | string | |
| namerequired | string or null | |
| team_leadrequired | boolean | |
| onlinerequired | boolean or null | |
| totalrequired | integer or null | -9007199254740991–9007199254740991 |
| next_cursorrequired | string or null | Pass as "cursor" to get the next page; null when there are no more results. |
Errors
Errors are application/problem+json. Branch on code.
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | A field is missing or has the wrong format. |
| 401 | unauthenticated | The Authorization header is missing, the key is unknown, expired or revoked, or the request came from an address outside the key's IP allowlist (checked on every operation, before anything runs). |
| 403 | entitlement_required | The workspace's plan does not include API access ( |
| 403 | insufficient_scope | The key does not have the permission this operation needs. Checked before the body and headers: without the permission, this is the answer whatever was sent. |
| 429 | rate_limited | The key or workspace went over its rate limit, or a service behind the API asked to slow down. Wait for |
| 503 | upstream_unavailable | A service behind the API is briefly unavailable. Safe to retry with backoff. |
Examples
Everyone, first page
Response 200
{
"data": [
{
"id": "1201",
"name": "Dr. Asha Menon",
"roles": [
"Agent"
],
"teams": [
{
"id": "41",
"name": "Clinic"
}
],
"team_lead": false,
"online": true
},
{
"id": "1202",
"name": "Ravi Kumar",
"roles": [
"Manager"
],
"teams": [],
"team_lead": true,
"online": false
}
],
"next_cursor": null,
"total": 2
}One team
Response 200
{
"data": [
{
"id": "1201",
"name": "Dr. Asha Menon",
"roles": [
"Agent"
],
"teams": [
{
"id": "41",
"name": "Clinic"
}
],
"team_lead": false,
"online": true
}
],
"next_cursor": null,
"total": 1
}Operation path
The same operation is also at POST /v1/ops/workspace_team, with every field in the JSON body.