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

Path Parameters

ParameterTypeDescription
idnumberIntegration id

Query Parameters

ParameterTypeDefaultDescription
recordnumberOnly the links to this golden record
pagenumber1Page number
limitnumber100Items per page (max 500)

Example Request

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

{
  "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

StatusCodeWhen
401UNAUTHORIZEDMissing, wrong or expired API credentials
403FORBIDDENThe key lacks integrations:read permission
404NOT_FOUNDNo such integration in your organization

See Errors for the envelope.

Using an AI agent? Give it the raw Markdown of this page, or the docs index.