Pular para o conteúdo principal
POST
Create object type

Parâmetros de consulta

hapikey
string
obrigatório

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

Corpo

application/json
applicationId
integer
obrigatório

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

baseUris
string[]
obrigatório

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

dataFetchUri
string
obrigatório

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

title
string
obrigatório

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

propertyDefinitions
object[]
obrigatório

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>[]
obrigatório

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.

Opções disponíveis:
CONTACT,
COMPANY,
DEAL,
TICKET
associatedHubSpotObjectTypeProperties
object
obrigatório

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

Resposta

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
Última modificação em 13 de abril de 2026