# Retrieve a membership plan `GET /api/v1/membership-plans/{id}` Returns one membership plan by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Membership 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 membership 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/membership-plans/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** The membership plan is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 8, "sport_id": 3, "name": "Junior annual registration", "organization": "Example Sports Federation", "card_type": "Junior", "season_label": "2026/2027", "valid_from": 1788220800, "valid_to": 1819756800, "amount": 2500, "currency": "EUR", "linked_plan_id": null, "exclude": 0, "metadata": { "category": "junior" } } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.