# Retrieve an athlete `GET /api/v1/athletes/{id}` Returns one athlete by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Athletes → Read**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the record belongs to. ## Path parameters - `id` (integer, required) — ID of the athlete. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/athletes/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** The athlete is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "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": {} } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.