chat/leagueselection feature, allowing the client to determine which leagues a user can select when accessing league-specific chat functionality.{{token}} variable is set in your active environment with a token obtained from the Kickbase login endpoint.Authorization: Bearer {{token}}| Header | Value | Description |
|---|---|---|
Accept | application/json | Specifies that the response should be returned in JSON format. |
| Endpoint | Description |
|---|---|
GET /v4/chat/leagueselection/{leagueId}/users | Retrieves the list of users in the league selection chat for a specific league. |
GET /v4/chat/refreshtoken | Refreshes the chat authentication token. |
leagueId to the /users sub-endpoint).curl --location 'https://api.kickbase.com/v4/chat/leagueselection' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"it": [
{
"i": "2609146",
"n": "HaramLig",
"f": "https://kickbase.b-cdn.net/league/f75ae72a923040e0a01d1b4d7480fb35.jpeg",
"uj": "2023-07-24T11:13:46Z",
"lim": "league/f75ae72a923040e0a01d1b4d7480fb35.jpeg"
},
{
"i": "5668220",
"n": "Acid League",
"f": "https://kickbase.b-cdn.net/league/99d82562460b42eea903a0fdebecc05e.png",
"uj": "2024-08-07T15:04:31Z",
"lim": "league/99d82562460b42eea903a0fdebecc05e.png"
}
]
}