# Retrieve a plan `GET /api/v1/plans/{id}` Returns one plan by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Plans → 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 plan. ## 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/plans/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** The plan is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 13, "sport_id": 3, "name": "Junior season", "amount": 18000, "currency": "EUR", "plan_start": 1788220800, "plan_end": 1819756800, "is_membership_fee": 0, "exclude": 0, "exclude_from_renewals": 0, "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.