Here is the code example I found in in https://developers.hubspot.com/docs/api/crm/tickets, the Create section: import hubspot
from pprint import pprint
from hubspot.crm.tickets import SimplePublicObjectInputForCreate, ApiException
client = hub
read more