Gets a list of members belonging to a team.
Required permission
Account > Admin > Members > Read
Path parameters
teamId
string requiredID of the team
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.members
[array] requiredAn array of team members.- {object}A team member object.
id
string requiredInternal ID (username) of the team member.pattern^[A-Za-z0-9-]+$username
stringUsername of the member.name
stringDisplay name from the member profile.emails
[array]Email addresses of the member.- string
joinedAt
stringThe time the member joined the team.pagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/teams/{teamId}/members
Example response
200 OK
A list of members in the team.
JSON
{
"data": {
"members": [
{
"id": "john-doe",
"username": "john-doe",
"name": "John Doe",
"joinedAt": "2021-01-20T11:19:53.175Z"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}