Authorization header:Authorization: Bearer {{token}}| Variable | Description |
|---|---|
leagueId | The unique ID of the league for which to retrieve the lineup selection. Uses {{leagueId}}. |
| Parameter | Description |
|---|---|
position | Filter players by their position (e.g., goalkeeper, defender, midfielder, forward). Leave empty to return all positions. |
start | Pagination start index — the offset from which to begin returning results. Uses {{start}}. |
query | A search query string to filter players by name or other attributes. |
sorting | Defines the sort order for the returned results (e.g., by market value, points, name). |
playerToBeReplacedById | The ID of the player currently in the lineup who is to be replaced. Used to filter compatible replacements. |
max | The maximum number of results to return per page. Uses {{max}}. |
curl --location --globoff 'https://api.kickbase.com/v4/leagues//lineup/selection?position=&start=&query=&sorting=&playerToBeReplacedById=&max=' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"it": []
}