Companies
Retrieve the available Companies in HubSpot. This table supports both OAuth and APIKey authentications.
Table Specific Information
In HubSpot, company records store information about a business or organization.
Select
When selecting companies, they can be filtered by columns marked below as 'Filterable'. For those columns, the supported server-side operators are =, !=, <, <=, >, >=. Further filtering is available using AND and OR combinations. A maximum of 2 OR operators are supported server-side, with each of these operators supporting up to 2 AND operators inside of them. For example:
SELECT * FROM Companies WHERE [Associated Deals] > 1 AND [Recent Deal Close Date] < '2020-01-31' SELECT * FROM Companies WHERE [Associated Contacts] < 50 OR [Last Contacted] > '2020-01-01 15:00:00'
In the below server-offloading examples, "{Column}" represents any column you'd like to filter and "{Value}" represents any value you want to filter it on:
SELECT * FROM Companies WHERE {Column} = {Value} AND {Column} < {Value} AND {Column} > {Value}
SELECT * FROM Companies WHERE {Column} != {Value} AND {Column} >= {Value} AND {Column} <= {Value}
SELECT * FROM Companies WHERE ({Column} = {Value} AND {Column} = {Value}) OR ({Column} != {Value} AND {Column} >= {Value})
SELECT * FROM Companies WHERE ({Column} != {Value} AND {Column} >= {Value} AND {Column} <= {Value}) OR ({Column} != {Value} AND {Column} >= {Value} AND {Column} <= {Value}) OR ({Column} != {Value} AND {Column} >= {Value} AND {Column} <= {Value})
Insert
INSERT INTO Companies([About Us]) VALUES('description')
Update
UPDATE Companies SET [About Us] = 'new description' WHERE ID='3917882265'
Delete
DELETE FROM Companies WHERE ID='3917882265'
Columns
| Name | Type | ReadOnly | References | Filterable | Description |
| Id [KEY] | Long | False | True |
Unique identifier of the company. |
|
| Archived | Bool | True | False |
Whether the company is archived or not. |
|
| CreatedAt | Datetime | True | False |
When the company was created. |
|
| UpdatedAt | Datetime | True | False |
When the company was last updated. |
|
| About_Us | String | False | True |
Short about-company |
|
| Facebook_Fans | Double | False | True |
Number of facebook fans |
|
| First_Conversion_Date | Datetime | True | True |
The first conversion date across all contacts associated this company or organization |
|
| First_Conversion | String | True | True |
The first form submitted across all contacts associated this company or organization |
|
| First_Deal_Created_Date | Datetime | True | True |
The create date of the first deal associated with this company record. |
|
| Year_Founded | String | False | True |
The year the company was created. Powered by HubSpot Insights. |
|
| Additional_Domains | String | False | True |
Additional domains belonging to this company |
|
| Time_First_Seen | Datetime | True | True |
The first activity for any contact associated with this company or organization |
|
| First_Touch_Converting_Campaign | String | True | True |
The campaign responsible for the first touch creation of the first contact associated with this company |
|
| Time_of_First_Session | Datetime | True | True |
Time of first session across all contacts associated with this company or organization |
|
| Time_Last_Seen | Datetime | True | True |
Time last seen across all contacts associated with this company or organization |
|
| Last_Touch_Converting_Campaign | String | True | True |
The campaign responsible for the last touch creation of the first contact associated with this company |
|
| Time_of_Last_Session | Datetime | True | True |
Time of the last session attributed to any contacts that are associated with this company record. |
|
| Number_of_Pageviews | Double | True | True |
Total number of page views across all contacts associated with this company or organization |
|
| Number_of_Sessions | Double | True | True |
Total number of sessions across all contacts associated with this company or organization |
|
| Original_Source_Type | String | False | True |
Original source for the contact with the earliest activity for this company or organization |
|
| Original_Source_Data_1 | String | True | True |
Additional information about the original source for the contact with the earliest activity for this company or organization |
|
| Original_Source_Data_2 | String | True | True |
Additional information about the original source for the contact with the earliest activity for this company or organization |
|
| Avatar_FileManager_key | String | True | True |
The path in the FileManager CDN for this company's avatar override image. Automatically set by HubSpot. |
|
| Created_by_user_ID | Double | True | True |
The user that created this object. This value is automatically set by HubSpot and may not be modified. |
|
| Object_create_date_time | Datetime | True | True |
The date and time at which this object was created. This value is automatically set by HubSpot and may not be modified. |
|
| Ideal_Customer_Profile_Tier | String | False | True |
This property shows how well a Company matches your Ideal Customer Profile. Companies that are Tier 1 should be a great fit for your products/services where Tier 3 might be acceptable, but low priority |
|
| Target_Account | Bool | False | True |
The Target Account property identifies the companies that you are marketing and selling to as part of your account-based strategy. |
|
| Last_Sales_Activity_Date | Datetime | True | True |
The date of the last sales activity with the company. |
|
| Last_Modified_Date | Datetime | True | True |
The date any property on this company was modified |
|
| Merged_object_IDs | String | True | True |
The list of object IDs that have been merged into this object. This value is automatically set by HubSpot and may not be modified. |
|
| Company_ID | Double | True | True |
The unique ID for this company. This unique ID is automatically populated by HubSpot and cannot be changed. |
|
| Likelihood_to_close | Double | True | True |
The highest probability that a contact associated with this company will become a customer within the next 90 days. This score is based on standard contact properties and behavior. |
|
| Target_Account2 | String | False | True |
The Target Account property is a means to flag high priority companies if you are following an account based strategy |
|
| Updated_by_user_ID | Double | True | True |
The user that last updated this object. This value is automatically set by HubSpot and may not be modified. |
|
| Owner_Assigned_Date | Datetime | True | True |
The timestamp when an owner was assigned to this company |
|
| Is_Public | Bool | False | True |
Indicates that the company is publicly traded. Powered by HubSpot Insights. |
|
| Associated_Contacts | Double | True | True |
The number of contacts associated with this company |
|
| Associated_Deals | Double | True | True |
The number of deals associated with this company |
|
| Number_of_Form_Submissions | Double | True | True |
The number of forms submission for all contacts associated with this company or organization |
|
| Recent_Conversion_Date | Datetime | True | True |
The most recent conversion date across all contacts associated this company or organization |
|
| Recent_Conversion | String | True | True |
The last form submitted across all contacts associated this company or organization |
|
| Recent_Deal_Amount | Double | True | True |
The amount of the last deal closed |
|
| Recent_Deal_Close_Date | Datetime | True | True |
The date of the last `closed won` deal associated with this company record. |
|
| Time_Zone | String | False | True |
The time zone where the company or organization is located. Powered by HubSpot Insights. |
|
| Total_Money_Raised | String | False | True |
The total amount of money raised by the company. Powered by HubSpot Insights. |
|
| Total_Revenue | Double | True | True |
The total amount of closed won deals |
|
| Name | String | False | True |
The name of the company or organization. Powered by HubSpot Insights. |
|
| HubSpot_Owner_Email | String | False | True |
HubSpot owner email for this company or organization |
|
| Twitter_Handle | String | False | True |
The main twitter account of the company or organization |
|
| HubSpot_Owner_Name | String | False | True |
HubSpot owner name for this company or organization |
|
| Phone_Number | String | False | True |
A company's primary phone number. Powered by HubSpot Insights. |
|
| Twitter_Bio | String | False | True |
The Twitter bio of the company or organization |
|
| Twitter_Followers | Double | False | True |
The number of Twitter followers of the company or organization |
|
| Street_Address | String | False | True |
The street address of the company or organization, including unit number. Powered by HubSpot Insights. |
|
| Street_Address_2 | String | False | True |
The additional address of the company or organization. Powered by HubSpot Insights. |
|
| Facebook_Company_Page | String | False | True |
The URL of the Facebook company page for the company or organization |
|
| City | String | False | True |
The city where the company is located. Powered by HubSpot Insights. |
|
| LinkedIn_Company_Page | String | False | True |
The URL of the LinkedIn company page for the company or organization |
|
| LinkedIn_Bio | String | False | True |
The LinkedIn bio for the company or organization |
|
| State_Region | String | False | True |
The state or region in which the company or organization is located. Powered by HubSpot Insights. |
|
| Google_Plus_Page | String | False | True |
The URL of the Google Plus page for the company or organization |
|
| Date_of_last_meeting_booked_in_meetings_tool | Datetime | True | True |
The date of the most recent meeting an associated contact has booked through the meetings tool. |
|
| Campaign_of_last_booking_in_meetings_tool | String | True | True |
This UTM parameter shows which marketing campaign (e.g. a specific email) referred an associated contact to the meetings tool for their most recent booking. This property is only populated when you add tracking parameters to your meeting link. |
|
| Medium_of_last_booking_in_meetings_tool | String | True | True |
This UTM parameter shows which channel (e.g. email) referred an associated contact to the meetings tool for their most recent booking. This property is only populated when you add tracking parameters to your meeting link. |
|
| Source_of_last_booking_in_meetings_tool | String | True | True |
This UTM parameter shows which site (e.g. Twitter) referred an associated contact to the meetings tool for their most recent booking. This property is only populated when you add tracking parameters to your meeting link. |
|
| Latest_meeting_activity | Datetime | True | True |
The date of the most recent meeting (past or upcoming) logged for, scheduled with, or booked by a contact associated with this company. |
|
| Recent_Sales_Email_Replied_Date | Datetime | True | True |
The last time a tracked sales email was replied to by this company |
|
| Company_owner | String | False | True |
The owner of the company |
|
| Last_Contacted | Datetime | True | True |
The last timestamp when a call, email or meeting was logged for a contact at this company. |
|
| Last_Activity_Date | Datetime | True | True |
The last time a note, call, meeting, or task was logged for a company. This is set automatically by HubSpot based on user actions in the company record. |
|
| Next_Activity_Date | Datetime | True | True |
The date of the next upcoming scheduled sales activity for this company record. |
|
| Number_of_times_contacted | Double | True | True |
The number of times a call, email or meeting was logged for this company |
|
| Number_of_Sales_Activities | Double | True | True |
Number of sales activities for this company. For example, a call, email or meeting logged. |
|
| Postal_Code | String | False | True |
The postal or zip code of the company or organization. Powered by HubSpot Insights. |
|
| Country_Region | String | False | True |
The country/region in which the company or organization is located. Powered by HubSpot Insights. |
|
| HubSpot_Team | String | True | True |
The team of the owner of the company. |
|
| All_owner_ids | String | True | True |
The value of all owner referencing properties for this object, both default and custom |
|
| Website_URL | String | False | True |
The main website of the company or organization. This property is used to identify unique companies. Powered by HubSpot Insights. |
|
| Company_Domain_Name | String | False | True |
The domain name of the company or organization |
|
| All_team_ids | String | True | True |
The team ids corresponding to all owner referencing properties for this object, both default and custom |
|
| All_accessible_team_ids | String | True | True |
The team ids, including up the team hierarchy, corresponding to all owner referencing properties for this object, both default and custom |
|
| Number_of_Employees | Double | False | True |
The total number of employees who work for the company or organization |
|
| Industry | String | False | True |
The type of business the company performs. By default, this property has approximately 150 pre-defined options to select from. While these options cannot be deleted as they used by HubSpot Insights, you can add new custom options to meet your needs. |
|
| Annual_Revenue | Double | False | True |
The actual or estimated annual revenue of the company. Powered by HubSpot Insights. |
|
| Lifecycle_Stage | String | False | True |
The most advanced lifecycle stage across all contacts associated with this company or organization |
|
| Lead_Status | String | False | True |
The company's sales, prospecting or outreach status |
|
| Parent_Company | Double | True | True |
The parent company of this company |
|
| Type | String | False | True |
The optional classification of this company record - prospect, partner, etc. |
|
| Description | String | False | True |
A short statement about the company's mission and goals. Powered by HubSpot Insights. |
|
| Number_of_child_companies | Double | True | True |
The number of child companies of this company |
|
| HubSpot_Score | Double | True | True |
The sales and marketing score for the company or organization |
|
| Create_Date | Datetime | True | True |
The date the company or organization was added to the database |
|
| Close_Date | Datetime | False | True |
The date the company or organization was closed as a customer |
|
| First_Contact_Create_Date | Datetime | True | True |
The date that the first contact from this company entered the system, which could pre-date the company's create date |
|
| Days_to_Close | Double | True | True |
The number of days between when the company record was created and when they closed as a customer. |
|
| Web_Technologies | String | False | True |
The web technologies used by the company or organization. Powered by HubSpot Insights. |