V1Teams
Teams List
List all the teams that a user is part of, with options for filtering based on queries or creation date.
List all the teams that a user is part of, with options for filtering based on queries or creation date.
Authorization
access_token Authorization<token>
In: header
Query Parameters
page?integer
actual page of teams
per_page?integer
number of teams per page
order?string
order by 'field,order'
filter[query]?string
filter teams by title
filter[daterange_from_to]?string
filter by creation date range
Value in
- "today"
- "yesterday"
- "last_7_days"
- "last_30_days"
- "current_month"
- "last_month"
- "02/21/2024 19:56 - 02/28/2024 19:56"
Response Body
application/json
curl -X GET "https://example.com/api/v1/teams?page=1&per_page=20&order=id%2Cdesc"{ "status": "ok", "data": { "pagination": { "total_pages": 0, "current_page": 0 }, "list": [ { "id": "string", "name": "string", "description": "string", "owner": { "id": "abc123xyz", "first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "avatar": "https://lh3.googleusercontent.com/a/AAcHTtcLT_gPCblFHL0QKonMt4822u5qrtlsvvrm0aAC1LszcPg=s288-c-no", "created_at": "06/29/2023 21:14:57", "updated_at": "06/29/2023 21:14:57" }, "created_at": "string", "updated_at": "string", "active": true, "total_team_members": 1, "active_team_members": 1, "inactive_team_members": 1, "folder_size": 0, "user_permissions": {}, "team_members": { "status": "ok", "data": { "pagination": { "total_pages": 0, "current_page": 0 }, "list": [ { "id": "string", "invitation_status": "string", "invitation_email": "string", "invitation_accepted_at": "string", "active": true, "created_at": "string", "updated_at": "string", "permission_role": "string", "user": { "id": "abc123xyz", "first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "avatar": "https://lh3.googleusercontent.com/a/AAcHTtcLT_gPCblFHL0QKonMt4822u5qrtlsvvrm0aAC1LszcPg=s288-c-no", "created_at": "06/29/2023 21:14:57", "updated_at": "06/29/2023 21:14:57" }, "team_roles": [ { "id": "string", "team_id": "string", "name": "QA", "description": "The QA role involves rigorously testing and identifying bugs in software to ensure its overall quality and reliability.", "created_at": "string", "updated_at": "string" } ] } ] } } } ] }}