MCP Server for HubSpot

Build 24.0.9300

Tickets

Lists all ticket records in HubSpot, supporting both OAuth and private-app token authentication methods.

Table Specific Information

In HubSpot, a ticket represents a customer request for help or support. The tickets endpoints allow you to manage this data and sync it between HubSpot and other systems.

SELECT

When selecting tickets, filtering can be applied to columns marked as "Filterable." For these columns, the supported server-side operator is =.

SELECT * FROM Tickets WHERE ID = '96ec8565-3b73-4ee8-9815-f90566ba9c42';
SELECT * FROM Tickets WHERE Archived = TRUE;

INSERT


INSERT INTO Tickets ([Ticket name]) VALUES ('ticket')

UPDATE


UPDATE Tickets SET [Ticket name] = 'new ticket' WHERE ID = '50962544'

DELETE


DELETE FROM Tickets WHERE ID = '50962544'

Columns

Name Type ReadOnly References Filterable Description
Id [KEY] Long False True

Unique identifier of the object.

Archived Bool True True

Whether the object is archived or not.

CreatedAt Datetime True False

When the object was created.

UpdatedAt Datetime True False

When the object was last updated.

ItemURL String True False

Url that points directly to the HubSpot item.

Close date Datetime False False

The date the ticket was closed.

Created by Decimal False False

VID of contact that created the ticket.

Create date Datetime False False

The date the ticket was created.

First agent email response date Datetime True False

The date of the first email response from an agent after a ticket was created.

Business units String False False

The business units this record is assigned to.

Assignment Method String False False

defines how the Object Assignment is done.

AutoGenerated from thread id Decimal True False

Thread that this ticket was automatically created for using ticket rules.

Originating Conversations Message Id String False False

Conversations Message Id of the message that originated this ticket.

Conversations originating thread id Decimal False False

Thread that this ticket was originally created for.

Created by user ID Decimal True False

The user that created this object. This value is automatically set by HubSpot and may not be modified.

HubSpot create date Datetime True False

Internal read_only property representing the date the ticket was created in HubSpot.

Custom inbox ID Decimal False False

ID of the custom inbox the ticket is associated with.

Date entered 'New _Support Pipeline_' Datetime True False

The date and time when the ticket entered the 'New' stage_ 'Support Pipeline' pipeline.

Date entered 'Waiting on contact _Support Pipeline_' Datetime True False

The date and time when the ticket entered the 'Waiting on contact' stage_ 'Support Pipeline' pipeline.

Date entered 'Waiting on us _Support Pipeline_' Datetime True False

The date and time when the ticket entered the 'Waiting on us' stage_ 'Support Pipeline' pipeline.

Date entered 'Closed _Support Pipeline_' Datetime True False

The date and time when the ticket entered the 'Closed' stage_ 'Support Pipeline' pipeline.

Date exited 'New _Support Pipeline_' Datetime True False

The date and time when the ticket exited the 'New' stage_ 'Support Pipeline' pipeline.

Date exited 'Waiting on contact _Support Pipeline_' Datetime True False

The date and time when the ticket exited the 'Waiting on contact' stage_ 'Support Pipeline' pipeline.

Date exited 'Waiting on us _Support Pipeline_' Datetime True False

The date and time when the ticket exited the 'Waiting on us' stage_ 'Support Pipeline' pipeline.

Date exited 'Closed _Support Pipeline_' Datetime True False

The date and time when the ticket exited the 'Closed' stage_ 'Support Pipeline' pipeline.

External object ids String False False

Unique ids corresponding to tickets in a system outside of HubSpot.

Last CES survey comment String True False

Last CES survey comment that this contact gave for this ticket.

Last CES survey rating String True False

Last CES survey rating that this contact gave for this ticket.

Last CES survey date Datetime True False

The time that this contact last submitted a CES survey response. This is automatically set by HubSpot.

File upload String False False

Files attached to a support form by a contact.

First agent response date Datetime True False

The date of the first response from an agent out of all associated conversations.

In Help Desk Bool False False

Is this Ticket rendered in the Help Desk.

Inbox ID Decimal True False

Inbox the ticket is in.

Last email activity String True False

The type of the last email activity with the contact associated with the ticket.

Last email date Datetime True False

The date of the last email activity with the contact associated with the ticket.

Last message received date Datetime True False

The date of the last response from the visitor.

Last response date Datetime True False

The date of the last response from an agent or bot.

Last activity date Datetime True False

The last time a note_ call_ email_ meeting_ or task was logged for a ticket. This is updated automatically by HubSpot.

Last contacted date Datetime True False

The last time a call_ chat conversation_ LinkedIn message_ postal mail_ meeting_ sales email_ SMS_ or WhatsApp message was logged for a ticket. This is set automatically by HubSpot based on user actions in the ticket record.

Last modified date Datetime True False

Most recent timestamp of any property update for this ticket. This includes HubSpot internal properties_ which can be visible or hidden. This property is updated automatically.

Latest message seen by agent ids String True False

Agents who have seen the newest message across all conversations associated to the ticket.

Merged ticket ids String True False

All ticket ids for this ticket.

Microsoft Teams message ID for this ticket. String True False

Microsoft Teams message ID for this ticket.

Next activity date Datetime True False

The date of the next upcoming activity for a ticket. This property is set automatically by HubSpot based on user action. This includes logging a future call_ email_ or meeting using the Log feature_ as well as creating a future task or scheduling a future meeting. This is updated automatically by HubSpot.

Number of Associated Companies Decimal True False

Number of companies associated with this ticket.

Number of times contacted Decimal True False

The number of times a call_ email_ or meeting was logged on the ticket.

Record ID Decimal True False

The unique ID for this record. This value is automatically set by HubSpot and may not be modified.

Originating channel account String True False

First channel account used when conversation was started.

Originating email engagement id Decimal True False

Engagement id of the email originating this ticket.

Originating channel type String True False

The channel the conversation is in.

Pinned Engagement ID Decimal True False

The object ID of the current pinned engagement. This value is automatically set by HubSpot and may not be modified.

Pipeline String False False

The pipeline that contains this ticket.

Ticket status String False False

The pipeline stage that contains this ticket.

Read Only Object Bool True False

Is the object read only.

Resolution String False False

The action taken to resolve the ticket.

Thread IDs To Restore String False False

Thread IDs _from cv_threads_ used to implement custom cascading delete_restore.

Category String False False

Main reason customer reached out for help.

Ticket ID Decimal True False

The unique id for this ticket. This unique id is automatically populated by HubSpot.

Priority String False False

The level of attention needed on the ticket.

Time in 'New _Support Pipeline_' Decimal True False

The total time in seconds spent by the ticket in the 'New' stage_ 'Support Pipeline' pipeline.

Time in 'Waiting on contact _Support Pipeline_' Decimal True False

The total time in seconds spent by the ticket in the 'Waiting on contact' stage_ 'Support Pipeline' pipeline.

Time in 'Waiting on us _Support Pipeline_' Decimal True False

The total time in seconds spent by the ticket in the 'Waiting on us' stage_ 'Support Pipeline' pipeline.

Time in 'Closed _Support Pipeline_' Decimal True False

The total time in seconds spent by the ticket in the 'Closed' stage_ 'Support Pipeline' pipeline.

Time to Close SLA Due Date Datetime True False

When the ticket falls out of Time to Close SLA.

Time to Close SLA Ticket Status String True False

Current Time to Close SLA status of ticket.

Time to First Response SLA Due Date Datetime True False

When the ticket falls out of the Time to First Response SLA.

Time to First Response SLA Status String True False

Current Time to First Response SLA status.

Unique creation key String True False

Unique property used for idempotent creates.

Updated by user ID Decimal True False

The user that last updated this object. This value is automatically set by HubSpot and may not be modified.

User IDs of all notification followers String True False

The user IDs of all users that have clicked follow within the object to opt_in to getting follow notifications.

User IDs of all notification unfollowers String True False

The user IDs of all object owners that have clicked unfollow within the object to opt_out of getting follow notifications.

User IDs of all owners String True False

The user IDs of all owners of this object.

Owner assigned date Datetime True False

The date an owner was assigned to the ticket.

Date of last engagement Datetime True False

The date of the last reply or note.

Last customer reply date Datetime True False

The date of the last customer response.

NPS follow up String False False

Answer to NPS follow up question.

NPS follow up question Decimal False False

Specific version of NPS follow up question that was asked.

Conversation NPS score String False False

NPS score received after ticket resolution.

Reference to email thread String False False

The id of an email thread with ticket conversation.

Time to close Decimal True False

The time between when the ticket was created and closed.

Time to first agent email reply Decimal True False

The time from the ticket create date to the first agent email reply.

Ticket name String False False

Short summary of ticket.

Ticket description String False False

Description of the ticket.

Source String False False

Channel where ticket was originally submitted.

Reference to sourceSpecific object String False False

The id of a connected source object.

Tags String False False

Tags associated with your tickets.

Recent Sales Email Replied Date Datetime True False

The last time a tracked sales email was replied to for this ticket.

Ticket owner String False False

User the ticket is assigned to. Assign additional users to a ticket record by creating a custom user property.

Last Contacted _Ticket Note_ Datetime True False

The last timestamp when a call_ email or meeting was logged for this ticket.

Last Activity Date _Ticket Note_ Datetime True False

The last time a note_ call_ email_ meeting_ or task was logged for a ticket. This is set automatically by HubSpot based on user actions in the ticket record.

Next Activity Date _Ticket Note_ Datetime True False

The date of the next upcoming activity for this ticket.

Number of times contacted _Ticket Note_ Decimal True False

The number of times a call_ email or meeting was logged for this ticket.

Number of Sales Activities Decimal True False

Number of sales activities for this ticket.

HubSpot team String True False

Primary team of the ticket owner. This property is set automatically by HubSpot.

All owner ids String True False

The value of all owner referencing properties for this object_ both default and custom.

All team ids String True False

The team IDs_ including up the team hierarchy_ corresponding to all owner referencing properties for this object_ both default and custom.

All accessible team ids String True False

The team IDs_ including up the team hierarchy_ corresponding to all owner referencing properties for this object_ both default and custom.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9300