# Download a team roster `GET /api/v1/teams/{id}/print` Downloads the team's roster as a PDF. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Teams → Read**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the team belongs to. - `X-Locale` (string) — Use `en` for English. The default is Italian. ## Path parameters - `id` (integer, required) — The team ID returned by [List teams](/api/teams/list.md). ## Request Set ASDINCLOUD_API_KEY, SPORT_ID, and TEAM_ID before running. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/teams/${TEAM_ID:?Set TEAM_ID}/print" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: $SPORT_ID" \ --header "X-Locale: en" \ --fail-with-body \ --output team-roster.pdf ``` ## Response **200 OK** The response body contains the PDF file. The example saves it to `team-roster.pdf`. ```http Content-Type: application/pdf Content-Disposition: inline; filename="squadra-under-14-basketball.pdf" Cache-Control: private, no-store ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks one or more required permissions. - `404` — The team was not found in the selected sport. Requests with missing or unavailable sport context can also return this status. - `502` — The roster PDF could not be generated.