Supported Operations for HubSpot Leads

Full CRUD support available through our unified API

list
get
create
update
delete

Supported Fields

9 fields

Fields available for HubSpot Leads

idnamecompany_namefirst_namelast_nameemailscustom_fieldsupdated_atcreated_at

API Model Preview

Sample response structure for leads

{
  "id": "12345",
  "name": "Example Name",
  "company_name": "Example Company Name",
  "first_name": "Example First Name",
  "last_name": "Example Last Name",
  "emails": [
    {
      "id": "12345",
      "email": "contact@example.com",
      "type": "primary"
    }
  ],
  "custom_fields": [
    {
      "id": "12345",
      "name": "Custom Field",
      "value": "Custom Value"
    }
  ],
  "updated_at": "2024-01-15T10:30:00.000Z",
  "created_at": "2024-01-15T10:30:00.000Z"
}

Quick Start Example

Start syncing HubSpot leads in minutes

Node.js
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: 'YOUR_APP_ID',
  consumerId: 'YOUR_CONSUMER_ID'
})

// List leads from HubSpot
const result = await apideck.crm.leads.list({
  serviceId: 'hubspot'
})

for await (const page of result) {
  console.log(page)
}
// Returns unified leads data
Related Data Models

Other HubSpot Data You Can Sync

Explore more HubSpotresources available through Apideck's unified API

Launch accounting integrations in weeks, not months

Get started for free