v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-011984401.2 MB
League: Rules & Config

Update league points config

Creates or updates the points configuration for a league game. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path, with the league points capability enabled on the key. League API access is gated at api_pro on the league owner's plan.

post/leagues/{identifier}/points/update

Path parameters

identifierstring required

League slug or Convex league ID.

League slug or Convex league ID.

Request body

gameIdstring required

Game ID whose points config should change.

unitLabel'POINTS' | 'EXPERIENCE'
baseWinnumber
baseLossnumber
baseDrawnumber
allowNegativeboolean
streakBonusEnabledboolean
challengerWinBonusnumber
challengedWinBonusnumber
forfeitPenaltynumber
challengeRefuseAdditionalPenaltynumber
challengeCancelGracePeriodHoursnumber
matchupCooldownHoursnumber
scrimmageAwardsPointsboolean

Response

The league points config was updated.

successtrue required
configIdstring required
timestampstring required