Retrieve a teamspace
GET/api/v1/workspaces/{workspace_slug}/teamspaces/{resource_id}/
Retrieve a teamspace by its ID
Path Parameters
resource_id:requiredstringThe unique identifier of the resource.
workspace_slug:requiredstringThe workspace_slug represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL https://app.plane.so/my-team/projects/, the workspace slug is my-team.
teamspace_id:requiredstringThe unique identifier of the teamspace.
Scopes
teamspaces:read
Retrieve a teamspace
bash
curl -X GET \
"https://api.plane.so/api/v1/workspaces/my-workspace/teamspaces/resource-id-uuid/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN"python
import requests
response = requests.get(
"https://api.plane.so/api/v1/workspaces/my-workspace/teamspaces/resource-id-uuid/",
headers={"X-API-Key": "your-api-key"}
)
print(response.json())javascript
const response = await fetch("https://api.plane.so/api/v1/workspaces/my-workspace/teamspaces/resource-id-uuid/", {
method: "GET",
headers: {
"X-API-Key": "your-api-key",
},
});
const data = await response.json();Response200
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Example Name",
"description": "Example description"
}
