HTTP request
curl \
-X GET 'https://api.meilisearch.com/api/v2/teams/12/members' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'{
"offset": 0,
"limit": 20,
"total": 1,
"results": [
{
"id": "7d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
"email": "jane@example.com",
"name": "Jane Doe",
"isOwner": false,
"status": "accepted",
"invitedAt": null
}
]
}{
"message": "The provided token is invalid.",
"code": "invalid_token",
"type": "auth",
"link": "https://www.meilisearch.com/docs/reference/management-api-errors#invalid_token"
}{
"message": "Team not found.",
"code": "team_not_found",
"type": "invalid_request",
"link": "https://www.meilisearch.com/docs/reference/management-api-errors#team_not_found"
}Teams
List team members
Lists the members of a team, then its pending invitations.
GET
/
api
/
v2
/
teams
/
{teamId}
/
members
HTTP request
curl \
-X GET 'https://api.meilisearch.com/api/v2/teams/12/members' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'{
"offset": 0,
"limit": 20,
"total": 1,
"results": [
{
"id": "7d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
"email": "jane@example.com",
"name": "Jane Doe",
"isOwner": false,
"status": "accepted",
"invitedAt": null
}
]
}{
"message": "The provided token is invalid.",
"code": "invalid_token",
"type": "auth",
"link": "https://www.meilisearch.com/docs/reference/management-api-errors#invalid_token"
}{
"message": "Team not found.",
"code": "team_not_found",
"type": "invalid_request",
"link": "https://www.meilisearch.com/docs/reference/management-api-errors#team_not_found"
}Authorizations
personal_access_tokenoauth2
Send Authorization: Bearer <token>, where <token> is a personal access token (PAT) or an OAuth2 access token. A PAT authenticates as the user who owns it. See Authentication.
Query Parameters
Response
Team members list
Envelope of every list response, the items being in results.