Skip to Content

Players

A Player represents a person on a team roster within a division.

Endpoint: /api/v1/players Required scope: read:players (read) / admin (write)

Players live on divisionTeam.players (a virtual field). Use ?include=players on divisionTeams or games endpoints to get player rosters.

Endpoints

MethodPathAuthDescription
GET/api/v1/players?team=:idRequiredList players for a team
GET/api/v1/players/:idRequiredGet a single player
POST/api/v1/playersRequiredCreate a player
PUT/api/v1/players/:idRequiredUpdate a player

Allowed ?include= roots: team, organization, league, division, registration, registrationTeam. To populate the player’s team in the same request: ?include=team. See Query Parameter: ?include=.

Fields

FieldTypeDescription
_idObjectIdUnique identifier
namestringPlayer full name. Default: ""
emailstringPlayer email address. Default: ""
numberstringJersey number. Default: ""
infoanyFlexible additional info (mixed type)
waiverDetailsWaiverDetail[]Waiver signature records
teamObjectIdParent DivisionTeam (ref: DivisionTeam)
organizationObjectIdOwning organization (ref: Organization)
tournamentObjectIdAssociated tournament (ref: Tournament)
registrationTeamObjectIdRegistration team submission (ref: RegistrationTeam)
registrationObjectIdAssociated registration (ref: Registration)
userObjectIdLinked user account (ref: User)
createddateCreation timestamp
updateddateLast update timestamp

WaiverDetail Sub-Schema

FieldTypeDescription
sentDatedateDate waiver was sent
signDatedateDate waiver was signed
acceptedbooleanWhether waiver was accepted
waiverObjectIdWaiver ref (ref: Waiver)
signedNamestringName as signed

Get Players for a Team

# Via divisionTeams endpoint (recommended) curl "https://api.staty.io/api/v1/divisionTeams/TEAM_ID?include=players" \ -H "Authorization: Bearer sk_live_..." # Via players endpoint curl "https://api.staty.io/api/v1/players?team=TEAM_ID" \ -H "Authorization: Bearer sk_live_..."

Response:

{ "success": true, "data": [ { "_id": "player_abc", "name": "Alex Johnson", "email": "alex@example.com", "number": "7", "team": "divteam_xyz", "waiverDetails": [ { "sentDate": "2026-03-01T00:00:00.000Z", "signDate": "2026-03-02T00:00:00.000Z", "accepted": true, "signedName": "Alex Johnson" } ] } ], "count": 1 }
Last updated on