# Find content using this file

**Publié le** : 2026-05-08
**Catégorie** : Media & Files

## `GET /media/:id/references`

**Find content using this file**

Returns a list of contents and site blocks that reference this media
file. Useful before deleting to check for broken references.

Required permissions: `media.view`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes | Unique identifier |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |
| `404` | Not found |


### Examples

```bash
curl https://api.lynkow.com/v1/media/a1b2c3d4-e5f6-7890-abcd-ef1234567890/references \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
{
  "data": [
    {
      "type": "content",
      "id": 42,
      "title": "Getting Started with Lynkow"
    },
    {
      "type": "content",
      "id": 55,
      "title": "Advanced Configuration"
    },
    {
      "type": "siteBlock",
      "id": 1,
      "title": "Header"
    }
  ]
}
```

---