cURL
curl --request GET \ --url https://apiweb.mile.app/api/v3/teams \ --header 'Authorization: Bearer <token>'
{ "data": { "current_page": 1, "data": [ { "_id": "650138dee2683e0e7c6b0ed2", "name": "Team Delivery Day 2", "hubId": "64d9932e2beb9037735ff022", "organizationId": "64d99303be0ad015c461c932", "updatedTime": "2023-09-13T04:21:50.211000Z", "createdTime": "2023-09-13T04:21:50.211000Z", "totalUser": 0 } ], "first_page_url": "https://apiwebdev.mile.app/api/v3/teams?hubId=64d9932e2beb9037735ff022%2Ctes&page=1", "from": 1, "last_page": 1, "last_page_url": "https://apiwebdev.mile.app/api/v3/teams?hubId=64d9932e2beb9037735ff022%2Ctes&page=1", "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://apiwebdev.mile.app/api/v3/teams?hubId=64d9932e2beb9037735ff022%2Ctes&page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "next_page_url": null, "path": "https://apiwebdev.mile.app/api/v3/teams", "per_page": 10, "prev_page_url": null, "to": 1, "total": 1 }, "status": true, "code": 200 }
Use a valid Bearer token to authenticate.
The page number of results to retrieve. Example: 2
2
Specifies the maximum number of items to retrieve in a single request. Example: 10
10
1 <= x <= 1000
Fundamental entity within an organization, serving as the central point for managing various operational components. Use Use GET /hubs endpoint to get the list of Hub IDs. Example: 634e98498ce07d29474a7e29
634e98498ce07d29474a7e29
Success
Status of response.
List object of teams.