LIST

List Account User Teams

Lists all teams that the specified user belongs to, including role and team manager status.

Endpoint

GET v5/accountuser/{user_id}/teams

Requires authentication

Path Parameters

The user whose team memberships should be retrieved.

user_id
string
required
The ID of the user whose teams will be listed.

Query Parameters

This endpoint does not accept query parameters.

None

Response

Returns a paginated array of team membership objects.

result_ok
boolean
Whether the request succeeded.
total_count
integer
Total number of teams returned.
page
integer
Current page index.
total_pages
integer
Number of available pages.
results_per_page
integer
Teams returned per page.
data
array
Array of team membership objects.

Examples

Request (cURL)
curl -X GET "https://api.alchemer.com/v5/accountuser/12345/teams?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
  "result_ok": true,
  "total_count": 1,
  "page": 1,
  "total_pages": 1,
  "results_per_page": 1,
  "data": [
    {
      "team_id": "1086131",
      "team_name": "Team 1",
      "user_id": "950362",
      "username": "Brenna Wilson",
      "email": "brenna.wilson@alchemer.com",
      "is_team_manager": false,
      "role_id": "2",
      "role_name": "Editor"
    }
  ]
}