---
title: "Gets members and groups for assigning to tasks. Use the optional 'nameContains' parameter to filter by name, or leave this empty to return all members and groups."
method: GET
path: "/api/team/members-and-groups"
tags: ["Team"]
---

# Gets members and groups for assigning to tasks. Use the optional 'nameContains' parameter to filter by name, or leave this empty to return all members and groups.

`GET /api/team/members-and-groups`

## Request

- Base URL: `https://app.checkflow.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.checkflow.io/api/team/members-and-groups`
- Auth: none declared

Sample request:

    GET: /api/team/members-and-groups
    GET: /api/team/members-and-groups?nameContains=Elon%20Musk

## Query parameters

- `nameContains` string

## Headers

- `X-API-VERSION` string
- `X-API-KEY` unknown

## Response `200`

Returns a list of matching active members and groups within your team

## Other responses

- `401`: If the API Key could not be validated
- `404`: If no members or groups are found

---

[API](https://skmtc.dev/checkflow/apis/checkflow-api.md) · [All operations](https://skmtc.dev/checkflow/apis/checkflow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/checkflow/apis/checkflow-api/revisions/4004b1f66432?raw)
