Skip to main content
POST
Create object type

Paramètres de requête

hapikey
string
requis

Your Developer HAPIkey. This must be a Developer HAPIkey associated with the Developer portal that the OAuth app was created in.

Corps

application/json
applicationId
integer
requis

The ID of the HubSpot application that will own this object type.

baseUris
string[]
requis

A list of URIs. When you define actions, the URIs for these actions must be under one of these URIs.

dataFetchUri
string
requis

The URI the CRM will call to fetch Sales Objects for the specified associatedHubSpotObjectTypes.

title
string
requis

The title of this object. This will be displayed as the title of the CRM sidebar card.

propertyDefinitions
object[]
requis

The common properties that these objects will have, in the order they should appear on the sidebar card. See Property Types for more info.

associatedHubSpotObjectTypes
enum<string>[]
requis

A set of CONTACT, COMPANY, DEAL, or TICKET. This determines where on the CRM this Object Type will appear -- contact, company, deal, or ticket details pages.

Options disponibles:
CONTACT,
COMPANY,
DEAL,
TICKET
associatedHubSpotObjectTypeProperties
object
requis

HubSpot properties to send in the data fetch request, by CRM object type.

Réponse

201 - application/json

Successful response - Object type created successfully

id
integer
applicationId
integer
baseUris
string[]
dataFetchUri
string
title
string
propertyDefinitions
object[]
associatedHubSpotObjectTypes
string[]
associatedHubSpotObjectTypeProperties
object
Dernière modification le 1 avril 2026