| Variable | Description |
|---|---|
challengeId | The unique identifier of the challenge for which the lineup selection is being made. |
| Parameter | Description |
|---|---|
position | Filter players by their field position (e.g. goalkeeper, defender, midfielder, forward). |
start | The offset index for pagination — defines the starting point of the result set. |
query | A search string to filter players by name or other searchable attributes. |
sorting | Defines the sort order of the returned player list (e.g. by market value, points, or name). |
playerToBeReplacedById | The ID of the player currently in the lineup who is being replaced. Used to contextualise the selection. |
max | The maximum number of players to return in the response (page size). |
| Header | Value | Description |
|---|---|---|
Accept | application/json | Specifies that the response should be returned in JSON format. |
start and max together to implement pagination across large player pools.playerToBeReplacedById to allow the API to apply eligibility or positional constraints relevant to the replacement context.curl --location --globoff 'https://api.kickbase.com/v4/challenges//lineup/selection?position=&start=&query=&sorting=&playerToBeReplacedById=&max=' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"it": []
}