Back to CRM record management

Object Get

HubSpot

Retrieve a HubSpot CRM record by object type and record identifier.

Current price
$0.0050/call
Availability
Connected app
Last accepted verification

What this API does

Retrieves one CRM record by numeric object type and record id, with optional selected properties, property history and associated record ids. Always one upstream request at $0.0050.

Agents select this operation with tool ID hubspot.object-get, then inspect its current executable contract before a run.

Public input and output shape

Input

pathobject · required

Identifier path for the authorised connected-app record.

queryobject · optional

Search terms used to find relevant records.

Output

archivedboolean

Returned archived value.

idstring

Returned id value.

propertiesobject

Returned properties value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "hubspot.object-get",
  "input": {
    "path": {
      "objectId": "YOUR-HUBSPOT-OBJECT-ID",
      "objectType": "0-2"
    },
    "query": {
      "properties": "name,domain,description"
    }
  }
}

Output

{
  "id": "400000000001",
  "archived": false,
  "properties": {
    "name": "Northstar Research (Sample)",
    "domain": "northstar-research.invalid",
    "description": "Research partner profile used to demonstrate CRM retrieval and updates."
  }
}
Teaching errors and limitations
  • connection_required: This capability acts on your own HubSpot account, which isn't connected yet.Open connect_url, approve access, then retry this run unchanged.
  • permission_required: The connected HubSpot grant does not include a scope required by this object type.Reconnect HubSpot and approve the requested scope, or choose an object type available to this account.
Updated
18 August 2026

Use Object Get with Scrollport

Scrollport validates tools for connected apps and provides them on a pay-as-you-go basis so your agent can use accounts you already own without receiving sensitive API keys.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.