Endpoint to Fetch Organization with all teams
Is there an endpoint to return all teams inside an organization? I want to get an object including the organization and its teams, like this:
{
"name": "lorem-organization",
"slug": "lorem-org",
"logo": null,
"createdAt": "2025-08-01T12:00:00.000Z",
"metadata": null,
"id": "abc123xyz",
"teams": [
{
"name": "lorem-team-1",
"id": "team123",
"createdAt": "2025-08-01T12:10:00.000Z"
},
{
"name": "lorem-team-2",
"id": "team456",
"createdAt": "2025-08-01T12:20:00.000Z"
}
]
}
0 Replies