Team Management
Retrieve a list of teams within the workspace, showcasing their members count and other details.
Provide the token that is returned upon login
Limits the number of results to return
10Pagination token that keeps of track of the current position in the list
Order in which to retrieve the results
falseSort by field specified
OK
Workspace not found
GET /workspaces/{workspaceId}/teams HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"results": [
{
"id": "text",
"workspaceId": "text",
"name": "text",
"description": "text",
"visibility": "text",
"accessibility": "text",
"activeMemberCount": 1,
"pendingMemberCount": 1,
"featuredMembers": [
{
"id": "text",
"type": "text"
}
],
"hideFromViews": true,
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}
],
"nextPageToken": "text",
"total": 1
}Retrieve information about a specific team within the workspace, including its name, and other details.
Provide the token that is returned upon login
OK
Team or workspace not found
GET /workspaces/{workspaceId}/teams/{teamId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"workspaceId": "text",
"name": "text",
"description": "text",
"visibility": "text",
"accessibility": "text",
"activeMemberCount": 1,
"pendingMemberCount": 1,
"featuredMembers": [
{
"id": "text",
"type": "text"
}
],
"hideFromViews": true,
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}Create a new team within the workspace, defining its name, and other relevant attributes.
Provide the token that is returned upon login
Input for creating a new team.
falseCreated
Workspace not found
Invalid request
POST /workspaces/{workspaceId}/teams HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"name": "text",
"description": "text",
"hideFromViews": false,
"members": [
{
"id": "text",
"type": "text"
}
]
}{
"id": "text",
"workspaceId": "text",
"name": "text",
"description": "text",
"visibility": "text",
"accessibility": "text",
"activeMemberCount": 1,
"pendingMemberCount": 1,
"featuredMembers": [
{
"id": "text",
"type": "text"
}
],
"hideFromViews": true,
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}Modify the details of a specific team within the workspace, such as its name, or other attributes.
Provide the token that is returned upon login
Input for updating a team's properties.
OK
Team or workspace not found
Invalid request
PATCH /workspaces/{workspaceId}/teams/{teamId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"name": "text",
"description": "text",
"hideFromViews": true
}{
"id": "text",
"workspaceId": "text",
"name": "text",
"description": "text",
"visibility": "text",
"accessibility": "text",
"activeMemberCount": 1,
"pendingMemberCount": 1,
"featuredMembers": [
{
"id": "text",
"type": "text"
}
],
"hideFromViews": true,
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}Remove a specific team from the workspace, permanently deleting its profile and associated data.
Provide the token that is returned upon login
Deleted
Team or workspace not found
DELETE /workspaces/{workspaceId}/teams/{teamId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Retrieve a list of members within the team, showcasing their names and other details.
Provide the token that is returned upon login
OK
Team or workspace not found
GET /workspaces/{workspaceId}/teams/{teamId}/members HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"results": [
{
"id": "text",
"teamId": "text",
"type": "text",
"status": "text",
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}
]
}Add a new member to the team.
Provide the token that is returned upon login
Created
Team or workspace not found
User is already a member
Invalid request
POST /workspaces/{workspaceId}/teams/{teamId}/members HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"id": "text",
"type": "user"
}{
"id": "text",
"teamId": "text",
"type": "text",
"status": "text",
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}Retrieve information about a specific member within the team, including their name and other details.
Provide the token that is returned upon login
OK
Member, team or workspace not found
GET /workspaces/{workspaceId}/teams/{teamId}/members/user/{teamMemberUserID} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"teamId": "text",
"type": "text",
"status": "text",
"createdAt": "2025-11-27T03:25:17.362Z",
"updatedAt": "2025-11-27T03:25:17.362Z"
}Remove a specific member from the team.
Provide the token that is returned upon login
deleted
Member, team or workspace not found
DELETE /workspaces/{workspaceId}/teams/{teamId}/members/user/{teamMemberUserID} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

