Skip to main content

Endpoint reference

MethodRouteAuthPurpose
GET/admin/teamsAdminList all teams
POST/admin/teamsAdminCreate a team
PATCH/admin/teams/:idAdminUpdate a team
POST/admin/teams/importAdminBulk import from SportMonks
PATCH/admin/teams/:id/overridesAdminSet display overrides

GET /admin/teams Admin

Returns all teams in the system, including SportMonks metadata and any display overrides.

POST /admin/teams Admin

Create a new team manually.
name
string
required
Team display name.
shortName
string
required
Abbreviated name (e.g., “SIX” for Sydney Sixers).
sportMonksId
number
SportMonks team ID for linking to external data.

PATCH /admin/teams/:id Admin

Update team properties.

POST /admin/teams/import Admin

Bulk import teams from SportMonks for the configured season. Matches existing teams by sportMonksId and creates new records for any unrecognized teams.
This does not delete teams that are no longer in SportMonks. It only creates or updates.

PATCH /admin/teams/:id/overrides Admin

Set display overrides for a team. Overrides take precedence over SportMonks data.
displayName
string
Custom display name to use instead of the SportMonks name.
logoUrl
string
Custom logo URL.
primaryColor
string
Hex color code for the team’s primary color.