# The athlete object Athletes are people registered for a sport in the workspace. Use athlete IDs to work with their team assignments, subscriptions, and related records. ## Attributes - `id` (integer) — Identifier assigned by the API. - `sport_id` (integer) — ID of the sport. - `firstname` (string) — Given name, up to 60 characters. - `surname` (string) — Family name, up to 60 characters. - `birthday` (integer or null) — Date of birth as Unix seconds. - `gender` (string or null) — Use M or F. - `phone` (string or null) — Contact phone. - `email` (string or null) — Valid contact email. - `taxcode` (string or null) — Tax identification code. - `address` (string or null) — Street address. - `zip` (string or null) — Postal code. - `city` (string or null) — City of residence. - `province` (string or null) — Province or region of residence. - `country` (string or null) — Country of residence. - `nationality` (string or null) — Nationality. - `citizenship` (string or null) — Citizenship. - `birth_city` (string or null) — City of birth. - `birth_province` (string or null) — Province or region of birth. - `birth_country` (string or null) — Country of birth. - `id_number` (string or null) — Club registration number. Use a unique value in the sport. - `notes` (string or null) — Athlete notes. - `shirt_number` (integer or null) — Shirt number. - `parent_divorced` (boolean) — Whether the parents are recorded as separated. - `allow_photo` (boolean) — Whether the athlete has given photo permission. - `to_notify` (boolean or null) — Whether the athlete receives notifications. - `privacy_consent` (boolean or null) — Recorded privacy consent. - `privacy_accepted_at` (integer or null) — Consent timestamp as Unix seconds. - `is_injured` (boolean) — Set true to record injury status or false to clear it. The API manages injured_at. - `metadata` (map or null) — Custom fields. Supplying the map replaces the existing metadata. - `injured_at` (integer or null) — Time the current injury status began, as Unix seconds. - `is_retired` (boolean) — Whether the athlete is retired. - `retired_at` (integer or null) — Retirement time in Unix seconds. - `tsc` (integer or null) — Creation time as Unix seconds. - `tsu` (integer or null) — Last update time as Unix seconds. ## Example Example with fictional data and selected fields. ```json { "id": 42, "sport_id": 3, "firstname": "ALEX", "surname": "EXAMPLE", "email": "alex@example.com", "shirt_number": 7, "is_injured": false, "injured_at": null, "is_retired": false, "retired_at": null, "metadata": {} } ```