hubspot.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Companies
create
companies.create
Create a new company
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
properties | object | No | — |
associations | object[] | No | — |
properties full type
properties full type
associations full type
associations full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
delete
companies.delete
Permanently delete a company [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
companyId | string | Yes | — |
void
get
companies.get
Get a specific company
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
companyId | string | Yes | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
idProperty | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
getMany
companies.getMany
Get multiple companies
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
after | string | No | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
getRecentlyCreated
companies.getRecentlyCreated
List recently created companies
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
after | string | No | — |
since | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
getRecentlyUpdated
companies.getRecentlyUpdated
List recently updated companies
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
after | string | No | — |
since | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
searchByDomain
companies.searchByDomain
Search companies by domain name
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | — |
properties | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
results full type
results full type
update
companies.update
Update an existing company
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
companyId | string | Yes | — |
properties | object | No | — |
properties full type
properties full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
Contact Lists
addContact
contactLists.addContact
Add a contact to a static contact list
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
listId | string | Yes | — |
emails | string[] | No | — |
vids | number[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
updated | number[] | No | — |
discarded | number[] | No | — |
invalidVids | number[] | No | — |
invalidEmails | string[] | No | — |
removeContact
contactLists.removeContact
Remove a contact from a static contact list
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
listId | string | Yes | — |
emails | string[] | No | — |
vids | number[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
updated | number[] | No | — |
discarded | number[] | No | — |
invalidVids | number[] | No | — |
invalidEmails | string[] | No | — |
Contacts
createOrUpdate
contacts.createOrUpdate
Create a new contact or update an existing one
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
properties | object | No | — |
associations | object[] | No | — |
properties full type
properties full type
associations full type
associations full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
delete
contacts.delete
Permanently delete a contact [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
contactId | string | Yes | — |
void
get
contacts.get
Get a specific contact
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
contactId | string | Yes | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
idProperty | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
getMany
contacts.getMany
Get multiple contacts
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
after | string | No | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
getRecentlyCreated
contacts.getRecentlyCreated
List recently created contacts
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
after | string | No | — |
since | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
getRecentlyUpdated
contacts.getRecentlyUpdated
List recently updated contacts
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
after | string | No | — |
since | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
search
contacts.search
Search contacts
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | No | — |
limit | number | No | — |
after | string | No | — |
sorts | string[] | No | — |
properties | string[] | No | — |
filterGroups | object[] | No | — |
filterGroups full type
filterGroups full type
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
Deals
create
deals.create
Create a new deal
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
properties | object | No | — |
associations | object[] | No | — |
properties full type
properties full type
associations full type
associations full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
delete
deals.delete
Permanently delete a deal [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
dealId | string | Yes | — |
void
get
deals.get
Get a specific deal
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
dealId | string | Yes | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
idProperty | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
getMany
deals.getMany
Get multiple deals
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
after | string | No | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
getRecentlyCreated
deals.getRecentlyCreated
List recently created deals
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
after | string | No | — |
since | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
getRecentlyUpdated
deals.getRecentlyUpdated
List recently updated deals
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
after | string | No | — |
since | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
search
deals.search
Search deals
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | No | — |
limit | number | No | — |
after | string | No | — |
sorts | string[] | No | — |
properties | string[] | No | — |
filterGroups | object[] | No | — |
filterGroups full type
filterGroups full type
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
update
deals.update
Update an existing deal
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
dealId | string | Yes | — |
properties | object | No | — |
properties full type
properties full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
Engagements
create
engagements.create
Create a new engagement
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
engagement | object | Yes | — |
associations | object | No | — |
metadata | object | No | — |
engagement full type
engagement full type
associations full type
associations full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
engagement | object | No | — |
associations | object | No | — |
metadata | object | No | — |
engagement full type
engagement full type
associations full type
associations full type
metadata full type
metadata full type
delete
engagements.delete
Permanently delete an engagement [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
engagementId | string | Yes | — |
void
get
engagements.get
Get a specific engagement
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
engagementId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
engagement | object | No | — |
associations | object | No | — |
metadata | object | No | — |
engagement full type
engagement full type
associations full type
associations full type
metadata full type
metadata full type
getMany
engagements.getMany
Get multiple engagements
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
after | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
Tickets
create
tickets.create
Create a new support ticket
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
properties | object | No | — |
associations | object[] | No | — |
properties full type
properties full type
associations full type
associations full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
delete
tickets.delete
Permanently delete a ticket [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
ticketId | string | Yes | — |
void
get
tickets.get
Get a specific ticket
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
ticketId | string | Yes | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
idProperty | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type
getMany
tickets.getMany
Get multiple tickets
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
after | string | No | — |
properties | string[] | No | — |
propertiesWithHistory | string[] | No | — |
associations | string[] | No | — |
archived | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | No | — |
paging | object | No | — |
results full type
results full type
paging full type
paging full type
update
tickets.update
Update an existing ticket
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
ticketId | string | Yes | — |
properties | object | No | — |
properties full type
properties full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
properties | object | No | — |
createdAt | date | No | — |
updatedAt | date | No | — |
archived | boolean | No | — |
associations | object | No | — |
properties full type
properties full type
associations full type
associations full type