# Retrieve a medical certificate `GET /api/v1/medicals/{id}` Returns one medical certificate by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Medicals → 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 medical certificate. ## Query parameters - `expand_athlete` (integer) — Use 1 to include the related athlete when available. ## 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/medicals/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** The medical certificate is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 32, "sport_id": 3, "belongs_to": "athlete", "belongs_obj_id": 42, "name": "Medical", "doc_number": "CERT-DEMO-001", "released_at": 1788220800, "expires_at": 1819756800, "is_medical": true, "got_paper": true, "url": null, "notes": null, "is_agonistic": 0 } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.