Members
Get members
Get Started
API Documentation
Members
Get members
Get all members of a team
GET
/
api
/
teams
/
{slug}
/
members
curl --location 'http://localhost:3005/api/teams/acme/members' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>'
{
"data": [
{
"id": 2,
"role": "OWNER",
"email": "kiran@example.com",
"firstName": "Kiran",
"lastName": "K",
"createdAt": "2023-07-03T19:16:16.408Z",
"updatedAt": "2023-07-03T19:16:16.408Z"
},
{
"id": 3,
"role": "MEMBER",
"email": "david@example.com",
"firstName": "David",
"lastName": "Douglas",
"createdAt": "2023-07-03T19:16:16.408Z",
"updatedAt": "2023-07-03T19:16:16.408Z"
}
]
}
Path
Team slug
curl --location 'http://localhost:3005/api/teams/acme/members' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>'
{
"data": [
{
"id": 2,
"role": "OWNER",
"email": "kiran@example.com",
"firstName": "Kiran",
"lastName": "K",
"createdAt": "2023-07-03T19:16:16.408Z",
"updatedAt": "2023-07-03T19:16:16.408Z"
},
{
"id": 3,
"role": "MEMBER",
"email": "david@example.com",
"firstName": "David",
"lastName": "Douglas",
"createdAt": "2023-07-03T19:16:16.408Z",
"updatedAt": "2023-07-03T19:16:16.408Z"
}
]
}
curl --location 'http://localhost:3005/api/teams/acme/members' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>'
{
"data": [
{
"id": 2,
"role": "OWNER",
"email": "kiran@example.com",
"firstName": "Kiran",
"lastName": "K",
"createdAt": "2023-07-03T19:16:16.408Z",
"updatedAt": "2023-07-03T19:16:16.408Z"
},
{
"id": 3,
"role": "MEMBER",
"email": "david@example.com",
"firstName": "David",
"lastName": "Douglas",
"createdAt": "2023-07-03T19:16:16.408Z",
"updatedAt": "2023-07-03T19:16:16.408Z"
}
]
}