
# List Record Links

```
GET /api/v1/integrations/:id/lookups
```

Returns the integration's record links: each app record's id (`tp_id`) and data (`tp_data`) as last pulled, and the golden record it's linked to. Sorted by id.

CLI: [`fob-mdm integrations lookups`](/docs/cli/integrations#integrations-lookups)

## Path Parameters

| Parameter | Type | Description |
|---|---|---|
| `id` | number | Integration id |

## Query Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `record` | number |  | Only the links to this golden record |
| `page` | number | `1` | Page number |
| `limit` | number | `100` | Items per page (max 500) |

## Example Request

```bash
curl -X GET "https://mdm.finopsbricks.com/api/v1/integrations/5/lookups" \
  -H "api-key: $MDM_API_KEY" \
  -H "api-secret: $MDM_API_SECRET"
```

## Response

`200 OK`

```json
{
  "data": [
    {
      "id": 50,
      "integration": 5,
      "object": "vendor",
      "record": 100,
      "tp_id": "cont_8f2k",
      "tp_data": {
        "tp_id": "cont_8f2k",
        "name": "ACME SUPPLIES",
        "gstin": "29ABCDE1234F1Z5",
        "bank_ifsc": "HDFC0009999"
      },
      "updated_at": "2026-11-26T07:20:08.000Z"
    }
  ],
  "page_context": {
    "count": 1,
    "page": 1,
    "per_page": 100,
    "total": 1,
    "has_more": false
  }
}
```

## Errors

| Status | Code | When |
|---|---|---|
| 401 | `UNAUTHORIZED` | Missing, wrong or expired API credentials |
| 403 | `FORBIDDEN` | The key lacks `integrations:read` permission |
| 404 | `NOT_FOUND` | No such integration in your organization |

See [Errors](/docs/api/errors) for the envelope.
