{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-hubspot-records-get",
  "title": "HubSpot Get Record",
  "section": "Library asset reference",
  "description": "Read-only CRM operation for contacts/companies/deals selected by objectType. Uses dated 2026-09 endpoints, secret bearer token and bounded read retries; 401/403 are never retried. Scope must include crm.objects.<objectType .read. Get one re",
  "kind": "node",
  "url": "/wiki/reference-hubspot-records-get/",
  "markdown": "/wiki/reference-hubspot-records-get/index.md",
  "json": "/wiki/reference-hubspot-records-get/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "hubspot",
  "contract": {
    "key": "hubspot.records.get",
    "slug": "hubspot-records-get",
    "name": "HubSpot Get Record",
    "kind": "node",
    "family": "hubspot",
    "packId": null,
    "category": "HubSpot",
    "description": "Read-only CRM operation for contacts/companies/deals selected by objectType. Uses dated 2026-09 endpoints, secret bearer token and bounded read retries; 401/403 are never retried. Scope must include crm.objects.<objectType>.read. Get one re",
    "inputs": [
      {
        "id": "exec",
        "name": "exec",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "address",
        "name": "address",
        "type": "@hubspot.type.get.request",
        "typeName": "HubSpot Record Address",
        "typeKey": "hubspot.type.get.request",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "error",
        "name": "error",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "record",
        "name": "record",
        "type": "@hubspot.type.record",
        "typeName": "HubSpot CRM Record",
        "typeKey": "hubspot.type.record",
        "typeVersion": 1,
        "required": true
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "accessTokenSecret": {
          "type": "string",
          "minLength": 1,
          "default": "HUBSPOT_ACCESS_TOKEN"
        },
        "baseUrl": {
          "type": "string",
          "description": "Leave absent for official HTTPS API. Only explicit http://127.0.0.1 or http://[::1] local mock override is accepted."
        },
        "timeoutMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 120000,
          "default": 15000
        },
        "readRetries": {
          "type": "integer",
          "minimum": 0,
          "maximum": 3,
          "default": 2
        },
        "objectType": {
          "type": "string",
          "enum": [
            "contacts",
            "companies",
            "deals"
          ],
          "default": "contacts"
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "documentation": "HubSpot Get Record\n\nRead-only CRM operation for contacts/companies/deals selected by objectType. Uses dated 2026-09 endpoints, secret bearer token and bounded read retries; 401/403 are never retried. Scope must include crm.objects.<objectType>.read. Get one record; optional idProperty resolves an external unique identifier.\n\nInputs: `exec`, `address`. Outputs: `next`, `error`, `record`. Configuration follows the inspector schema; no schema defaults are assumed at execution. Missing optional fields stay absent. Provider remainders are retained by codecs. Errors throw and can select a wired error control route.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://developers.hubspot.com/docs/api-reference/latest/crm/using-object-apis). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\n- `address`: `@hubspot.type.get.request`; required.\n\nOutputs:\n- `record`: `@hubspot.type.record`; required.\n\nConfiguration:\n- `accessTokenSecret`: string; default \"HUBSPOT_ACCESS_TOKEN\"\n- `baseUrl`: string; no automatic default. Leave absent for official HTTPS API. Only explicit http://127.0.0.1 or http://[::1] local mock override is accepted.\n- `timeoutMs`: integer; default 15000\n- `readRetries`: integer; default 2\n- `objectType`: string; default \"contacts\"\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.",
    "runtime": "javascript",
    "tags": [
      "hubspot",
      "library-expansion",
      "node",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
