Checking authentication...

Companies

Create, read, update, delete, and search HubSpot companies

5 tools

Create Company

Write

POST /v1/tools/hubspot/createCompany

Create a new company in HubSpot. Returns the company ID. PREREQUISITE: Call hubspot_getProperties(object_type: "companies") first to get available property names and types — do NOT guess. Properties are passed as a flat object keyed by property name. All values must be strings. Common properties: name, domain, industry, phone, city, state, country, numberofemployees, annualrevenue, lifecyclestage. For enumeration properties, use the internal value (not label) — check getProperties for valid options. For multi-select, separate values with semicolons: "value1;value2".

Parameters

NameTypeRequiredDescription
valuesobjectrequiredCompany properties keyed by property name. All values as strings. E.g., {"name": "Acme Corp", "domain": "acme.com", "industry": "TECHNOLOGY", "phone": "+1-555-0100"}
id_onlybooleanoptionalReturn only the company ID (default: true). Set to false for full response.

Flags

NameTypeDescription
id_onlybooleanReturn only the company ID (default: true). Set to false for full response.

Request

curl -X POST https://api.syncello.io/v1/tools/hubspot/createCompany \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{
  "values": "..."
}'

Response

{
  "id": "612300140002"
}

Try It

Try it

Sign in to execute this tool

Get Company

Read Idempotent

POST /v1/tools/hubspot/getCompany

Get a HubSpot company by ID. Returns company properties. By default returns common properties (name, domain, industry, phone, city, state, country). Use the "properties" parameter to request specific properties. Use hubspot_getProperties(object_type: "companies") to see all available property names.

Parameters

NameTypeRequiredDescription
company_idstringrequiredThe HubSpot company ID
return_propertiesarrayoptionalSpecific property names to return. If omitted, returns default properties.

Request

curl -X POST https://api.syncello.io/v1/tools/hubspot/getCompany \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{
  "company_id": "example"
}'

Response

{
  "id": "612300140002",
  "properties": {
    "city": "Denver",
    "country": null,
    "createdate": "2026-07-01T18:34:01.654Z",
    "domain": "acme.example.com",
    "hs_lastmodifieddate": "2026-07-01T18:34:04.642Z",
    "hs_object_id": "612300140002",
    "industry": "COMPUTER_SOFTWARE",
    "name": "Acme Corp",
    "phone": "+1-555-0111",
    "state": null
  },
  "createdAt": "2026-07-01T18:34:01.654Z",
  "updatedAt": "2026-07-01T18:34:04.642Z",
  "archived": false,
  "url": "https://app.hubspot.com/contacts/12345678/record/0-2/612300140002"
}

Try It

Try it

Sign in to execute this tool

Update Company

Write

POST /v1/tools/hubspot/updateCompany

Update an existing HubSpot company. Pass only the properties you want to change — other properties remain unchanged. All values must be strings. PREREQUISITE: Call hubspot_getProperties(object_type: "companies") to check property names and types before updating.

Parameters

NameTypeRequiredDescription
company_idstringrequiredThe HubSpot company ID to update
valuesobjectrequiredProperties to update, keyed by property name. All values as strings.

Request

curl -X POST https://api.syncello.io/v1/tools/hubspot/updateCompany \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{
  "company_id": "example",
  "values": "..."
}'

Response

{
  "id": "612300140002",
  "updated": true
}

Try It

Try it

Sign in to execute this tool

Delete Company

Destructive

POST /v1/tools/hubspot/deleteCompany

Delete a HubSpot company by ID. This moves the company to the recycling bin (recoverable for a limited time). This action cannot be easily undone.

Parameters

NameTypeRequiredDescription
company_idstringrequiredThe HubSpot company ID to delete

Request

curl -X POST https://api.syncello.io/v1/tools/hubspot/deleteCompany \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{
  "company_id": "example"
}'

Response

{
  "deleted": true,
  "companyId": "612300140002"
}

Try It

Try it

Sign in to execute this tool

Search Companies

Read Idempotent

POST /v1/tools/hubspot/searchCompanies

Search HubSpot companies using filters and sorting. Supports filtering by any property. Filter operators: EQ (equals), NEQ, LT, LTE, GT, GTE, CONTAINS_TOKEN (word search), NOT_CONTAINS_TOKEN, IN (array), NOT_IN, HAS_PROPERTY, NOT_HAS_PROPERTY, BETWEEN. Multiple filters in the same group are ANDed. Multiple filter groups are ORed. Returns up to 100 results per page with paging cursor.

Parameters

NameTypeRequiredDescription
filter_groupsarrayoptionalArray of filter groups (ORed together). Each group has a "filters" array (ANDed together). Each filter: { propertyName: string, operator: string, value: string }. Example: [{ "filters": [{ "propertyName": "domain", "operator": "CONTAINS_TOKEN", "value": "acme" }] }]
sortsarrayoptionalSort by property. E.g., [{ "propertyName": "createdate", "direction": "DESCENDING" }]
return_propertiesarrayoptionalProperties to include in results. Defaults to name, domain, industry.
limitnumberoptionalMax results to return (1-100, default 10)
afterstringoptionalPaging cursor from previous search result for next page
querystringoptionalSimple text search query (searches across default searchable properties)

Request

curl -X POST https://api.syncello.io/v1/tools/hubspot/searchCompanies \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

{
  "total": 1,
  "count": 1,
  "results": [
    {
      "id": "612300140002",
      "properties": {
        "city": "Denver",
        "createdate": "2026-07-01T18:34:01.654Z",
        "domain": "acme.example.com",
        "hs_lastmodifieddate": "2026-07-01T18:37:40.616Z",
        "hs_object_id": "612300140002",
        "industry": "COMPUTER_SOFTWARE",
        "name": "Acme Corp",
        "phone": "+1-555-0111"
      }
    }
  ]
}

Try It

Try it

Sign in to execute this tool