| Variable | Value | Description |
|---|---|---|
leagueId | {{leagueId}} | The unique identifier of the league whose squad you want to retrieve. |
| Key | Value | Description |
|---|---|---|
Accept | application/json | Specifies that the response should be returned in JSON format. |
Authorization header:Authorization: Bearer {{token}}{{token}} variable is set in your active environment (e.g. Kickbase v4) before sending the request.{
"it": [
{
"mvgl": -15145453,
"i": "118",
"n": "Grifo",
"lo": 7,
"lst": 1,
"st": 0,
"stl": [],
"mdst": 0,
"pos": 3,
"mv": 10973197,
"mvt": 2,
"p": 1659,
"ap": 72,
"iotm": false,
"ofc": 0,
"tid": "5",
"sdmvt": -1080998,
"tfhmvt": 32460,
"pim": "content/file/7d6a4935195d414a9119e81aa398222a.png"
}
],
"ua": "content/file/e67d5e728a3d44a7ba28046994e18d78.png"
}| Status Code | Description |
|---|---|
401 Unauthorized | Missing or invalid authentication token. |
403 Forbidden | You do not have permission to access this league's squad. |
404 Not Found | The specified leagueId does not exist. |
500 Internal Server Error | An unexpected server error occurred. |
| Variable | Description | Where to Set |
|---|---|---|
baseUrl | The base URL of the Kickbase API | Kickbase v4 environment |
leagueId | The ID of the league to query | Kickbase v4 environment |
token | Your authentication bearer token | Kickbase v4 environment |
curl --location --globoff 'https://api.kickbase.com/v4/leagues//squad' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"it": [
{
"mvgl": -15145453,
"i": "118",
"n": "Grifo",
"lo": 7,
"lst": 1,
"st": 0,
"stl": [],
"mdst": 0,
"pos": 3,
"mv": 10973197,
"mvt": 2,
"p": 1659,
"ap": 72,
"iotm": false,
"ofc": 0,
"tid": "5",
"sdmvt": -1080998,
"tfhmvt": 32460,
"pim": "content/file/7d6a4935195d414a9119e81aa398222a.png"
}
],
"ua": "content/file/e67d5e728a3d44a7ba28046994e18d78.png"
}