---
title: "HubSpot"
canonical: "https://www.owox.com/data-sources/hubspot"
updated: "2026-11-23"
---

# HubSpot data model: contacts, companies, deals and tickets as tables

[Get started free](https://www.owox.com/app-signup)

## Recent updates

*   [0.45.0 · Know what a backfill loads when a connector has no date fields](/product/changelog#7259-backfill-without-date-fields)
*   [0.44.0 · Connector Data Marts set up through MCP no longer fail their first run because of the table path](/product/changelog#7205-connector-table-path-without-project)
*   [0.44.0 · Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation](/product/changelog#7173-dateless-backfill-one-run)
*   [0.39.0 · Reload a year of history in one backfill, not twelve](/product/changelog#6987-unlimited-backfill-segments)
*   [0.37.0 · Clearer connector errors, and custom connectors that handle more APIs](/product/changelog#e339903)

## Endpoints

## HubSpot Endpoints

[Documentation](https://developers.hubspot.com/docs/api/crm/understanding-the-crm)

20 HubSpot endpoints you can import. Each lands in its own table in your data warehouse.

*   [Calls Every logged call with direction, duration, outcome and the rep, plus the contacts, deals and companies it was logged on. 22 fields](#schema-calls)

*   [Companies Every company (account) with firmographics, lifecycle stage, owner, rolled-up deal facts and the original source. 36 fields · Time series](#schema-companies)

*   [Contact associations The contact → company links: for every contact, the companies it is associated with. 5 fields](#schema-contact-associations)

*   [Contacts Every contact (person) in the CRM with identity, lifecycle stage and the dated funnel milestones (lead, MQL, SQL, opportunity, customer), original and latest traffic source, form conversions and owner 47 fields · Time series](#schema-contacts)

*   [Deal associations The deal → contact, deal → company and deal → line item links, one row per deal. 8 fields](#schema-deal-associations)

*   [Deal pipeline stages Every stage of every deals pipeline with its label, order and (for deals) win probability. 10 fields](#schema-deal-pipeline-stages)

*   [Deal pipelines Every deals pipeline in the account: id, label and order. 8 fields](#schema-deal-pipelines)

*   [Deals Every deal with amount, pipeline, current stage, probability, close date, owner, type, forecast category, won/lost reasons and the original source. 47 fields · Time series](#schema-deals)

*   [Emails Every sales e-mail logged or sent from HubSpot with subject, direction, status, addresses and the rep, plus its associations. 21 fields](#schema-emails)

*   [Line items Every line item on every deal: product, quantity, price, discount, amount and recurring-revenue values, with the deal it belongs to from the association. 26 fields](#schema-line-items)

*   [Marketing emails Every marketing (bulk) e-mail with its state, send date and lifetime statistics: sent, delivered, opens, clicks, bounces, unsubscribes and the ratios. 27 fields](#schema-marketing-emails)

*   [Meetings Every meeting with start, end, outcome and how it was booked, plus the rep and associations. 22 fields](#schema-meetings)

*   [Notes Every note a rep left on a record, with the rep and associations. 17 fields](#schema-notes)

*   [Owners Every active owner (user who can own records) with name, e-mail and team membership. 11 fields](#schema-owners)

*   [Products The product library: every product with price, SKU, cost and billing period. 16 fields](#schema-products)

*   [Tasks Every task with status, priority, type and completion date, plus the rep and associations. 22 fields](#schema-tasks)

*   [Ticket associations The ticket → contact, ticket → company and ticket → deal links, one row per ticket. 9 fields](#schema-ticket-associations)

*   [Ticket pipeline stages Every stage of every tickets pipeline with its label, order and (for deals) win probability. 10 fields](#schema-ticket-pipeline-stages)

*   [Ticket pipelines Every tickets pipeline in the account: id, label and order. 8 fields](#schema-ticket-pipelines)

*   [Tickets Every support ticket with pipeline, status, priority, category, channel, owner and the time-to-close and time-to-first-reply HubSpot computes. 21 fields · Time series](#schema-tickets)

## Calls schema

## HubSpot Calls schema

22 fields · `hubspot_calls`

Every logged call with direction, duration, outcome and the rep, plus the contacts, deals and companies it was logged on.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the calls (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `hs_timestamp` | TIMESTAMP | When the activity happened (the date to report activities by). |
| `hubspot_owner_id` | STRING | Rep who logged or owns the activity; joins hubspot\_owners.id. Activities per rep come from this field. |
| `hs_createdate` | TIMESTAMP | When the activity record was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When the activity record last changed. |
| `hs_activity_type` | STRING | Activity type picked by the rep, when the account uses activity types. |
| `hs_call_title` | STRING | Call title. |
| `hs_call_direction` | STRING | INBOUND or OUTBOUND. |
| `hs_call_duration` | INTEGER | Call duration in milliseconds. |
| `hs_call_disposition` | STRING | Outcome id of the call (connected, left voicemail, no answer, busy, wrong number…), an id that maps to the account's call outcomes. |
| `hs_call_status` | STRING | Status: COMPLETED, BUSY, NO\_ANSWER, FAILED, CANCELED, CONNECTING, IN\_PROGRESS, QUEUED. |
| `hs_call_body` | STRING | Notes typed on the call. |
| `first_contact_id` | STRING | The first contact the activity is logged on. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
| `first_deal_id` | STRING | The first deal the activity is logged on. Joins hubspot\_deals.id; activities per deal and per stage come from here. |
| `deal_associations` | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first company the activity is logged on. Joins hubspot\_companies.id. |
| `company_associations` | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Companies schema

## HubSpot Companies schema

36 fields · Time series · `hubspot_companies`

Every company (account) with firmographics, lifecycle stage, owner, rolled-up deal facts and the original source.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the companie (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `name` | STRING | Company name. |
| `domain` | STRING | Website domain; HubSpot's deduplication key and the join to contact e-mail domains and to Stripe or billing accounts. |
| `industry` | STRING | Industry from HubSpot's standard list. |
| `company_type` | STRING | Type of company: PROSPECT, PARTNER, RESELLER, VENDOR, OTHER. |
| `city` | STRING | City. |
| `state` | STRING | State or region. |
| `country` | STRING | Country. |
| `numberofemployees` | INTEGER | Number of employees. |
| `annualrevenue` | FLOAT | Annual revenue as entered or enriched. |
| `lifecyclestage` | STRING | Lifecycle stage of the company, same vocabulary as contacts. |
| `hs_lead_status` | STRING | Lead status of the company. |
| `hubspot_owner_id` | STRING | Owner of the company; joins hubspot\_owners.id. |
| `createdate` | TIMESTAMP | When the company was created in HubSpot. |
| `hs_lastmodifieddate` | TIMESTAMP | When any company property last changed. The incremental filter for this table. |
| `closedate` | TIMESTAMP | Close date of the first closed-won deal. |
| `first_deal_created_date` | TIMESTAMP | When the first deal was created for the company. |
| `recent_deal_amount` | FLOAT | Amount of the most recently closed-won deal. |
| `recent_deal_close_date` | TIMESTAMP | Close date of the most recently closed-won deal. |
| `total_revenue` | FLOAT | Sum of closed-won deal amounts, as HubSpot rolls it up. |
| `num_associated_contacts` | INTEGER | Number of associated contacts. |
| `num_associated_deals` | INTEGER | Number of associated deals. |
| `hs_num_open_deals` | INTEGER | Number of open deals. |
| `hs_analytics_source` | STRING | Original traffic source of the company (from its first contact). |
| `hs_analytics_source_data_1` | STRING | Original source drill-down 1. |
| `hs_analytics_source_data_2` | STRING | Original source drill-down 2. |
| `hs_parent_company_id` | STRING | Parent company id when the account is a subsidiary; joins hubspot\_companies.id. |
| `website` | STRING | Website URL. |
| `description` | STRING | Company description. |
| `founded_year` | STRING | Year founded. |
| `is_public` | BOOLEAN | true for publicly traded companies. |
| `hs_object_source` | STRING | How the record was created (FORM, IMPORT, API, CRM\_UI, INTEGRATION, …). |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Contact associations schema

## HubSpot Contact associations schema

5 fields · `hubspot_contact_associations`

The contact → company links: for every contact, the companies it is associated with.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Contact id. Primary key; joins hubspot\_contacts.id. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `email` | STRING | Contact e-mail, repeated here so the link table is readable on its own. |
| `first_company_id` | STRING | The first associated company (HubSpot lists the primary company first). Joins hubspot\_companies.id. |
| `company_associations` | JSON | All associated companies as a JSON array of {id, type}; type contact\_to\_company is the primary link, contact\_to\_company\_unlabeled the others. |

## Contacts schema

## HubSpot Contacts schema

47 fields · Time series · `hubspot_contacts`

Every contact (person) in the CRM with identity, lifecycle stage and the dated funnel milestones (lead, MQL, SQL, opportunity, customer), original and latest traffic source, form conversions and owner

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the contact (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `email` | STRING | Primary e-mail address. The join key to Stripe or QuickBooks customers, newsletter contacts and ad-platform conversions by e-mail. |
| `firstname` | STRING | First name. |
| `lastname` | STRING | Last name. |
| `phone` | STRING | Phone number as typed in HubSpot. |
| `company` | STRING | Company name typed on the contact; the associated company record is in hubspot\_contact\_associations. |
| `jobtitle` | STRING | Job title. |
| `lifecyclestage` | STRING | Lifecycle stage id: subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer, evangelist, other, or a custom stage id. |
| `hs_lead_status` | STRING | Lead status set by sales (NEW, OPEN, IN\_PROGRESS, OPEN\_DEAL, UNQUALIFIED, ATTEMPTED\_TO\_CONTACT, CONNECTED, BAD\_TIMING, or custom). |
| `hubspot_owner_id` | STRING | Owner (sales rep) of the contact; joins hubspot\_owners.id. |
| `hs_analytics_source` | STRING | Original traffic source of the contact's first visit: ORGANIC\_SEARCH, PAID\_SEARCH, EMAIL\_MARKETING, SOCIAL\_MEDIA, REFERRALS, OTHER\_CAMPAIGNS, DIRECT\_TRAFFIC, OFFLINE, PAID\_SOCIAL. |
| `hs_analytics_source_data_1` | STRING | Original source drill-down 1 (for example the search engine, the campaign or the import name). |
| `hs_analytics_source_data_2` | STRING | Original source drill-down 2 (for example the keyword or the referring domain). |
| `hs_latest_source` | STRING | Latest traffic source, same vocabulary as hs\_analytics\_source. |
| `hs_latest_source_timestamp` | TIMESTAMP | When the latest source was recorded. |
| `createdate` | TIMESTAMP | When the contact was created in HubSpot. The date a lead enters the funnel. |
| `lastmodifieddate` | TIMESTAMP | When any contact property last changed. The incremental filter for this table. |
| `hs_lifecyclestage_lead_date` | TIMESTAMP | When the contact became a lead. |
| `hs_lifecyclestage_marketingqualifiedlead_date` | TIMESTAMP | When the contact became a marketing-qualified lead (MQL). |
| `hs_lifecyclestage_salesqualifiedlead_date` | TIMESTAMP | When the contact became a sales-qualified lead (SQL). |
| `hs_lifecyclestage_opportunity_date` | TIMESTAMP | When the contact became an opportunity. |
| `hs_lifecyclestage_customer_date` | TIMESTAMP | When the contact became a customer. MQL→SQL→customer conversion is these dates divided. |
| `closedate` | TIMESTAMP | Close date copied from the first deal that closed won for this contact. |
| `first_conversion_event_name` | STRING | Name of the first form the contact submitted. |
| `first_conversion_date` | TIMESTAMP | When the contact first converted on a form. |
| `recent_conversion_event_name` | STRING | Name of the most recent form submission. |
| `recent_conversion_date` | TIMESTAMP | When the most recent form submission happened. |
| `num_conversion_events` | INTEGER | Number of form submissions. |
| `hs_analytics_num_page_views` | INTEGER | Page views HubSpot tracked for this contact. |
| `hs_analytics_num_visits` | INTEGER | Sessions (visits) HubSpot tracked for this contact. |
| `hs_analytics_first_visit_timestamp` | TIMESTAMP | First tracked visit. |
| `hs_analytics_last_visit_timestamp` | TIMESTAMP | Most recent tracked visit. |
| `num_associated_deals` | INTEGER | Number of deals associated with the contact. |
| `num_notes` | INTEGER | Number of sales activities (notes, calls, e-mails, meetings, tasks) logged on the contact. |
| `notes_last_contacted` | TIMESTAMP | Last time a rep contacted this person (call, e-mail or meeting). |
| `hs_sales_email_last_replied` | TIMESTAMP | Last time the contact replied to a sales e-mail. |
| `city` | STRING | City. |
| `state` | STRING | State or region. |
| `country` | STRING | Country. |
| `website` | STRING | Website URL typed on the contact. |
| `hs_email_domain` | STRING | Domain part of the e-mail; joins companies.domain when no association exists. |
| `hs_object_source` | STRING | How the record was created: FORM, IMPORT, API, CRM\_UI, INTEGRATION, WORKFLOWS, CONVERSATIONS, EMAIL and others. |
| `hs_object_source_label` | STRING | Human label of hs\_object\_source. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Deal associations schema

## HubSpot Deal associations schema

8 fields · `hubspot_deal_associations`

The deal → contact, deal → company and deal → line item links, one row per deal.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Deal id. Primary key; joins hubspot\_deals.id. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `dealname` | STRING | Deal name, repeated so the link table is readable on its own. |
| `first_contact_id` | STRING | The first associated contact. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All associated contacts as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first associated company (the primary company). Joins hubspot\_companies.id. |
| `company_associations` | JSON | All associated companies as a JSON array of {id, type}. |
| `line_item_associations` | JSON | All line items of the deal as a JSON array of {id, type}; joins hubspot\_line\_items.id. |

## Deal pipeline stages schema

## HubSpot Deal pipeline stages schema

10 fields · `hubspot_deal_pipeline_stages`

Every stage of every deals pipeline with its label, order and (for deals) win probability.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Stage id, unique in the account. Primary key; deals.dealstage joins it. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `label` | STRING | Stage name as shown in HubSpot. |
| `display_order` | INTEGER | Position of the stage in its pipeline, 0 first. |
| `is_closed` | BOOLEAN | true for the closed stages (won and lost for deals, closed for tickets). |
| `probability` | FLOAT | Win probability of the stage, 0–1 (deal pipelines only; 1.0 = closed won, 0.0 = closed lost). |
| `ticket_state` | STRING | OPEN or CLOSED (ticket pipelines only). |
| `archived` | BOOLEAN | true when the stage was removed from the pipeline. |
| `created_at` | TIMESTAMP | When the stage was created. |
| `updated_at` | TIMESTAMP | When the stage last changed. |

## Deal pipelines schema

## HubSpot Deal pipelines schema

8 fields · `hubspot_deal_pipelines`

Every deals pipeline in the account: id, label and order.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Pipeline id. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `label` | STRING | Pipeline name. |
| `display_order` | INTEGER | Position of the pipeline in HubSpot's list. |
| `stage_count` | INTEGER | Number of stages (counted from the stages array). |
| `archived` | BOOLEAN | true when the pipeline was deleted. |
| `created_at` | TIMESTAMP | When the pipeline was created. |
| `updated_at` | TIMESTAMP | When the pipeline last changed. |

## Deals schema

## HubSpot Deals schema

47 fields · Time series · `hubspot_deals`

Every deal with amount, pipeline, current stage, probability, close date, owner, type, forecast category, won/lost reasons and the original source.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the deal (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `dealname` | STRING | Deal name. |
| `amount` | FLOAT | Deal amount in the deal's currency. Pipeline value is SUM(amount) over open deals; bookings is SUM(amount) over closed-won deals by closedate. |
| `amount_in_home_currency` | FLOAT | Deal amount converted to the account's home currency. |
| `deal_currency_code` | STRING | ISO currency code of amount. |
| `pipeline` | STRING | Pipeline id; joins hubspot\_deal\_pipelines.id. |
| `dealstage` | STRING | Current stage id; joins hubspot\_deal\_pipeline\_stages.id for the label, order and win probability. |
| `hs_deal_stage_probability` | FLOAT | Win probability of the current stage (0–1) as configured on the pipeline. |
| `hs_is_closed` | BOOLEAN | true when the deal is in a closed stage (won or lost). |
| `hs_is_closed_won` | BOOLEAN | true when the deal is closed won. |
| `hs_is_closed_lost` | BOOLEAN | true when the deal is closed lost. |
| `hs_closed_amount` | FLOAT | Amount counted as closed won (0 for open and lost deals). |
| `hs_forecast_amount` | FLOAT | Weighted amount: amount × forecast probability. |
| `hs_projected_amount` | FLOAT | Amount × stage probability for open deals. |
| `hs_manual_forecast_category` | STRING | Forecast category set by the rep: OMIT, PIPELINE, BEST\_CASE, COMMIT, CLOSED. |
| `dealtype` | STRING | newbusiness or existingbusiness. |
| `closedate` | TIMESTAMP | Expected close date for open deals, actual close date once closed. Bookings are dated by this field. |
| `createdate` | TIMESTAMP | When the deal was created. Pipeline created and sales velocity start here. |
| `hs_lastmodifieddate` | TIMESTAMP | When any deal property last changed. The incremental filter for this table. |
| `hs_v2_date_entered_current_stage` | TIMESTAMP | When the deal entered its current stage; days in stage = now minus this. |
| `hs_v2_time_in_current_stage` | INTEGER | Milliseconds the deal has spent in its current stage, as HubSpot computes it. |
| `hs_days_to_close` | INTEGER | Days from createdate to closedate (sales cycle length) as HubSpot computes it. |
| `hubspot_owner_id` | STRING | Deal owner (rep); joins hubspot\_owners.id. Owner performance is deals and amounts grouped by this field. |
| `hs_created_by_user_id` | STRING | HubSpot user who created the deal. |
| `closed_won_reason` | STRING | Free-text or picklist reason the deal was won. |
| `closed_lost_reason` | STRING | Free-text or picklist reason the deal was lost. |
| `hs_analytics_source` | STRING | Original traffic source of the deal's first associated contact: where the deal came from. |
| `hs_analytics_source_data_1` | STRING | Original source drill-down 1. |
| `hs_analytics_source_data_2` | STRING | Original source drill-down 2. |
| `hs_campaign` | STRING | Marketing campaign id associated with the deal. |
| `num_associated_contacts` | INTEGER | Number of contacts on the deal. |
| `hs_num_of_associated_line_items` | INTEGER | Number of line items on the deal. |
| `num_notes` | INTEGER | Number of sales activities logged on the deal. |
| `notes_last_contacted` | TIMESTAMP | Last time a contact on this deal was contacted. |
| `hs_latest_meeting_activity` | TIMESTAMP | Latest meeting activity on the deal. |
| `hs_next_step` | STRING | Next step typed by the rep. |
| `hs_priority` | STRING | Priority: low, medium, high. |
| `hs_deal_score` | FLOAT | HubSpot's deal score (Sales Hub Enterprise). |
| `hs_mrr` | FLOAT | Monthly recurring revenue from the deal's recurring line items. |
| `hs_arr` | FLOAT | Annual recurring revenue from the deal's recurring line items. |
| `hs_tcv` | FLOAT | Total contract value from line items. |
| `hs_acv` | FLOAT | Annual contract value from line items. |
| `description` | STRING | Deal description. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Emails schema

## HubSpot Emails schema

21 fields · `hubspot_emails`

Every sales e-mail logged or sent from HubSpot with subject, direction, status, addresses and the rep, plus its associations.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the emails (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `hs_timestamp` | TIMESTAMP | When the activity happened (the date to report activities by). |
| `hubspot_owner_id` | STRING | Rep who logged or owns the activity; joins hubspot\_owners.id. Activities per rep come from this field. |
| `hs_createdate` | TIMESTAMP | When the activity record was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When the activity record last changed. |
| `hs_activity_type` | STRING | Activity type picked by the rep, when the account uses activity types. |
| `hs_email_subject` | STRING | E-mail subject. |
| `hs_email_direction` | STRING | EMAIL (sent from HubSpot), INCOMING\_EMAIL or FORWARDED\_EMAIL. |
| `hs_email_status` | STRING | Status: SENT, BOUNCED, FAILED, SCHEDULED, SENDING. |
| `hs_email_to_email` | STRING | Recipient address (joins contacts.email). |
| `hs_email_from_email` | STRING | Sender address. |
| `first_contact_id` | STRING | The first contact the activity is logged on. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
| `first_deal_id` | STRING | The first deal the activity is logged on. Joins hubspot\_deals.id; activities per deal and per stage come from here. |
| `deal_associations` | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first company the activity is logged on. Joins hubspot\_companies.id. |
| `company_associations` | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Line items schema

## HubSpot Line items schema

26 fields · `hubspot_line_items`

Every line item on every deal: product, quantity, price, discount, amount and recurring-revenue values, with the deal it belongs to from the association.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the line items (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `name` | STRING | Line item name (product name at the time of adding). |
| `hs_product_id` | STRING | Product this line was created from; joins hubspot\_products.id. |
| `hs_sku` | STRING | SKU copied from the product. |
| `quantity` | FLOAT | Quantity. |
| `price` | FLOAT | Unit price on the line. |
| `amount` | FLOAT | Net amount of the line (quantity × price minus discount). |
| `discount` | FLOAT | Absolute discount on the line. |
| `hs_discount_percentage` | FLOAT | Percentage discount on the line. |
| `hs_total_discount` | FLOAT | Total discount on the line. |
| `hs_line_item_currency_code` | STRING | ISO currency code of the line. |
| `hs_recurring_billing_period` | STRING | Billing period of a recurring line as an ISO 8601 duration. |
| `recurringbillingfrequency` | STRING | Billing frequency of a recurring line. |
| `hs_term_in_months` | INTEGER | Contract term in months for recurring lines. |
| `hs_mrr` | FLOAT | Monthly recurring revenue of the line. |
| `hs_arr` | FLOAT | Annual recurring revenue of the line. |
| `hs_tcv` | FLOAT | Total contract value of the line. |
| `hs_acv` | FLOAT | Annual contract value of the line. |
| `hs_position_on_quote` | INTEGER | Order of the line on the deal or quote. |
| `createdate` | TIMESTAMP | When the line was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When the line last changed. |
| `deal_id` | STRING | The deal this line item belongs to (first associated deal; a line item belongs to one deal). Joins hubspot\_deals.id. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Marketing emails schema

## HubSpot Marketing emails schema

27 fields · `hubspot_marketing_emails`

Every marketing (bulk) e-mail with its state, send date and lifetime statistics: sent, delivered, opens, clicks, bounces, unsubscribes and the ratios.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Marketing e-mail id. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `name` | STRING | Internal e-mail name. |
| `subject` | STRING | Subject line. |
| `state` | STRING | DRAFT, PUBLISHED, SCHEDULED, AUTOMATED, AUTOMATED\_DRAFT and others. |
| `email_type` | STRING | BATCH\_EMAIL, AUTOMATED\_EMAIL, AB\_EMAIL, RSS\_EMAIL and others. |
| `publish_date` | TIMESTAMP | When the e-mail was sent or scheduled. |
| `is_published` | BOOLEAN | true once sent or live. |
| `campaign_id` | STRING | Marketing campaign the e-mail belongs to. |
| `campaign_name` | STRING | Campaign name. |
| `from_name` | STRING | Sender name. |
| `sent` | INTEGER | Recipients the send went to. |
| `delivered` | INTEGER | Delivered recipients. |
| `opens` | INTEGER | Total opens. |
| `clicks` | INTEGER | Total clicks. |
| `bounces` | INTEGER | Bounced recipients. |
| `unsubscribes` | INTEGER | Unsubscribed recipients. |
| `spam_reports` | INTEGER | Spam reports. |
| `replies` | INTEGER | Replies. |
| `open_rate` | FLOAT | Opens ÷ delivered, as HubSpot reports it. |
| `click_rate` | FLOAT | Clicks ÷ delivered. |
| `click_through_rate` | FLOAT | Clicks ÷ opens (CTOR). |
| `bounce_rate` | FLOAT | Bounces ÷ sent. |
| `unsubscribe_rate` | FLOAT | Unsubscribes ÷ delivered. |
| `created_at` | TIMESTAMP | When the e-mail was created. |
| `updated_at` | TIMESTAMP | When the e-mail last changed. |
| `archived` | BOOLEAN | true when archived. |

## Meetings schema

## HubSpot Meetings schema

22 fields · `hubspot_meetings`

Every meeting with start, end, outcome and how it was booked, plus the rep and associations.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the meetings (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `hs_timestamp` | TIMESTAMP | When the activity happened (the date to report activities by). |
| `hubspot_owner_id` | STRING | Rep who logged or owns the activity; joins hubspot\_owners.id. Activities per rep come from this field. |
| `hs_createdate` | TIMESTAMP | When the activity record was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When the activity record last changed. |
| `hs_activity_type` | STRING | Activity type picked by the rep, when the account uses activity types. |
| `hs_meeting_title` | STRING | Meeting title. |
| `hs_meeting_start_time` | TIMESTAMP | Meeting start. |
| `hs_meeting_end_time` | TIMESTAMP | Meeting end. |
| `hs_meeting_outcome` | STRING | SCHEDULED, COMPLETED, RESCHEDULED, NO\_SHOW, CANCELED. |
| `hs_meeting_location` | STRING | Location or conference link. |
| `hs_meeting_source` | STRING | CRM\_UI, INTEGRATION, BIDIRECTIONAL\_API, MEETINGS\_PUBLIC: how the meeting was booked. |
| `first_contact_id` | STRING | The first contact the activity is logged on. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
| `first_deal_id` | STRING | The first deal the activity is logged on. Joins hubspot\_deals.id; activities per deal and per stage come from here. |
| `deal_associations` | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first company the activity is logged on. Joins hubspot\_companies.id. |
| `company_associations` | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Notes schema

## HubSpot Notes schema

17 fields · `hubspot_notes`

Every note a rep left on a record, with the rep and associations.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the notes (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `hs_timestamp` | TIMESTAMP | When the activity happened (the date to report activities by). |
| `hubspot_owner_id` | STRING | Rep who logged or owns the activity; joins hubspot\_owners.id. Activities per rep come from this field. |
| `hs_createdate` | TIMESTAMP | When the activity record was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When the activity record last changed. |
| `hs_activity_type` | STRING | Activity type picked by the rep, when the account uses activity types. |
| `hs_note_body` | STRING | Note text (HTML as stored). |
| `first_contact_id` | STRING | The first contact the activity is logged on. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
| `first_deal_id` | STRING | The first deal the activity is logged on. Joins hubspot\_deals.id; activities per deal and per stage come from here. |
| `deal_associations` | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first company the activity is logged on. Joins hubspot\_companies.id. |
| `company_associations` | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Owners schema

## HubSpot Owners schema

11 fields · `hubspot_owners`

Every active owner (user who can own records) with name, e-mail and team membership.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Owner id. Primary key; hubspot\_owner\_id on every object joins it. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `email` | STRING | Owner's e-mail (the HubSpot user login). |
| `first_name` | STRING | First name. |
| `last_name` | STRING | Last name. |
| `user_id` | INTEGER | HubSpot user id behind the owner. |
| `owner_type` | STRING | PERSON or QUEUE. |
| `teams` | JSON | Teams the owner belongs to, as a JSON array of {id, name, primary}. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Products schema

## HubSpot Products schema

16 fields · `hubspot_products`

The product library: every product with price, SKU, cost and billing period.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the products (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `name` | STRING | Product name. |
| `description` | STRING | Product description. |
| `price` | FLOAT | Unit list price. |
| `hs_sku` | STRING | SKU; the join to the product catalogue in Shopify, Stripe or QuickBooks. |
| `hs_cost_of_goods_sold` | FLOAT | Unit cost of goods sold, when entered. |
| `hs_product_type` | STRING | inventory, non-inventory or service. |
| `hs_recurring_billing_period` | STRING | Billing period for recurring products as an ISO 8601 duration (P1M, P12M). |
| `recurringbillingfrequency` | STRING | Billing frequency: monthly, quarterly, annually and others. |
| `createdate` | TIMESTAMP | When the product was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When any product property last changed. |
| `hs_url` | STRING | Product URL. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Tasks schema

## HubSpot Tasks schema

22 fields · `hubspot_tasks`

Every task with status, priority, type and completion date, plus the rep and associations.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the tasks (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `hs_timestamp` | TIMESTAMP | When the activity happened (the date to report activities by). |
| `hubspot_owner_id` | STRING | Rep who logged or owns the activity; joins hubspot\_owners.id. Activities per rep come from this field. |
| `hs_createdate` | TIMESTAMP | When the activity record was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When the activity record last changed. |
| `hs_activity_type` | STRING | Activity type picked by the rep, when the account uses activity types. |
| `hs_task_subject` | STRING | Task title. |
| `hs_task_body` | STRING | Task notes. |
| `hs_task_status` | STRING | NOT\_STARTED, IN\_PROGRESS, WAITING, COMPLETED, DEFERRED. |
| `hs_task_priority` | STRING | NONE, LOW, MEDIUM, HIGH. |
| `hs_task_type` | STRING | EMAIL, CALL, TODO, LINKED\_IN\_MESSAGE and others. |
| `hs_task_completion_date` | TIMESTAMP | When the task was completed. |
| `first_contact_id` | STRING | The first contact the activity is logged on. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
| `first_deal_id` | STRING | The first deal the activity is logged on. Joins hubspot\_deals.id; activities per deal and per stage come from here. |
| `deal_associations` | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first company the activity is logged on. Joins hubspot\_companies.id. |
| `company_associations` | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Ticket associations schema

## HubSpot Ticket associations schema

9 fields · `hubspot_ticket_associations`

The ticket → contact, ticket → company and ticket → deal links, one row per ticket.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Ticket id. Primary key; joins hubspot\_tickets.id. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `subject` | STRING | Ticket subject, repeated so the link table is readable on its own. |
| `first_contact_id` | STRING | The first associated contact. Joins hubspot\_contacts.id. |
| `contact_associations` | JSON | All associated contacts as a JSON array of {id, type}. |
| `first_company_id` | STRING | The first associated company. Joins hubspot\_companies.id. |
| `company_associations` | JSON | All associated companies as a JSON array of {id, type}. |
| `first_deal_id` | STRING | The first associated deal. Joins hubspot\_deals.id. |
| `deal_associations` | JSON | All associated deals as a JSON array of {id, type}. |

## Ticket pipeline stages schema

## HubSpot Ticket pipeline stages schema

10 fields · `hubspot_ticket_pipeline_stages`

Every stage of every tickets pipeline with its label, order and (for deals) win probability.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Stage id, unique in the account. Primary key; tickets.hs\_pipeline\_stage joins it. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `label` | STRING | Stage name as shown in HubSpot. |
| `display_order` | INTEGER | Position of the stage in its pipeline, 0 first. |
| `is_closed` | BOOLEAN | true for the closed stages (won and lost for deals, closed for tickets). |
| `probability` | FLOAT | Win probability of the stage, 0–1 (deal pipelines only; 1.0 = closed won, 0.0 = closed lost). |
| `ticket_state` | STRING | OPEN or CLOSED (ticket pipelines only). |
| `archived` | BOOLEAN | true when the stage was removed from the pipeline. |
| `created_at` | TIMESTAMP | When the stage was created. |
| `updated_at` | TIMESTAMP | When the stage last changed. |

## Ticket pipelines schema

## HubSpot Ticket pipelines schema

8 fields · `hubspot_ticket_pipelines`

Every tickets pipeline in the account: id, label and order.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | Pipeline id. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector. |
| `label` | STRING | Pipeline name. |
| `display_order` | INTEGER | Position of the pipeline in HubSpot's list. |
| `stage_count` | INTEGER | Number of stages (counted from the stages array). |
| `archived` | BOOLEAN | true when the pipeline was deleted. |
| `created_at` | TIMESTAMP | When the pipeline was created. |
| `updated_at` | TIMESTAMP | When the pipeline last changed. |

## Tickets schema

## HubSpot Tickets schema

21 fields · Time series · `hubspot_tickets`

Every support ticket with pipeline, status, priority, category, channel, owner and the time-to-close and time-to-first-reply HubSpot computes.

| Field | Type | Description |
| --- | --- | --- |
| `id` | STRING | HubSpot object id of the ticket (hs\_object\_id), unique in the account. Primary key. |
| `portal_id` | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
| `subject` | STRING | Ticket subject. |
| `content` | STRING | Ticket description. |
| `hs_pipeline` | STRING | Ticket pipeline id; joins hubspot\_ticket\_pipelines.id. |
| `hs_pipeline_stage` | STRING | Current ticket status (stage) id; joins hubspot\_ticket\_pipeline\_stages.id. |
| `hs_ticket_priority` | STRING | Priority: LOW, MEDIUM, HIGH, URGENT. |
| `hs_ticket_category` | STRING | Category: PRODUCT\_ISSUE, BILLING\_ISSUE, FEATURE\_REQUEST, GENERAL\_INQUIRY or custom. |
| `source_type` | STRING | Channel the ticket came from: CHAT, EMAIL, FORM, PHONE. |
| `hubspot_owner_id` | STRING | Agent who owns the ticket; joins hubspot\_owners.id. |
| `createdate` | TIMESTAMP | When the ticket was created. |
| `hs_lastmodifieddate` | TIMESTAMP | When any ticket property last changed. The incremental filter for this table. |
| `closed_date` | TIMESTAMP | When the ticket was closed. |
| `time_to_close` | INTEGER | Milliseconds from creation to close, as HubSpot computes it. |
| `time_to_first_agent_reply` | INTEGER | Milliseconds from creation to the first agent reply. |
| `hs_resolution` | STRING | Resolution picked at close. |
| `hs_num_times_contacted` | INTEGER | Number of times the customer was contacted on this ticket. |
| `hs_object_source` | STRING | How the ticket was created. |
| `created_at` | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
| `updated_at` | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
| `archived` | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |

## Turn your HubSpot data into business decisions

[Get started free](https://www.owox.com/app-signup)

## Links

Pages this page links to, on this site and on docs.owox.com. Where the page has a Markdown twin, its address follows the link.

- [Get started free](https://www.owox.com/app-signup)
- [0.45.0 · Know what a backfill loads when a connector has no date fields](https://www.owox.com/product/changelog) — /product/changelog.md
