---
title: "Returns the holding Id for the given Medin Id"
method: GET
path: "/api/holdings/medin/{medinId}"
tags: ["Holdings"]
---

# Returns the holding Id for the given Medin Id

`GET /api/holdings/medin/{medinId}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/cefas/apis/data-portal/docs/api/holdings/medin/:medinId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns -1 if the user doesn't have access to the holding or the holding doesn't exist

## Path parameters

- `medinId` string, required

## Response `200`

Ok

---

[API](https://skmtc.dev/cefas/apis/data-portal.md) - [All operations](https://skmtc.dev/cefas/apis/data-portal/llms.txt) - [OpenAPI document](https://skmtc.dev/cefas/apis/data-portal/revisions/1ff904b61926?raw)
