---
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}`

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.net/cefas/apis/data-portal.md) · [All operations](https://skmtc.net/cefas/apis/data-portal/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cefas/data-portal/revisions/1ff904b61926/schema)
