Get Squad By team
GET {{baseUrl}}/squads?owner_id=<string>
This endpoint is used to get the squads details by team.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with squad-read
scope.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
owner_id | string |
RESPONSES
status: OK
{"data":[{"id":"60cb2a2119d081d36f0e312f","name":"sastra","slug":"sastra","members":["60cb1ef1c9de4a0008d2fadd","60cb1ee77a9b2900091cf19d","60cb223997db1cf2cac4da92"],"organization_id":"60cb200bc9de4a0008d2fc41","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[],"organization":{"id":"60cb200bc9de4a0008d2fc41","name":"Modhilal_Squadcast","slug":"modhilalsquadcast"}},{"id":"60cc3c38ec1645d563995d7c","name":"support","slug":"support","members":["60cb223997db1cf2cac4da92"],"organization_id":"60cb200bc9de4a0008d2fc41","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[],"organization":{"id":"60cb200bc9de4a0008d2fc41","name":"Modhilal_Squadcast","slug":"modhilalsquadcast"}}]}