There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Update a Timeline Event Type

Last updated June 17, 2020

PUT /integrations/v1/:application-id/timeline/event-types/:event-type-id

Method Details

HTTP Methods:

PUT

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Developer Tools

Required Scope:

timeline

Update an existing event type.

Note: Changes to an event type may take up to an hour to update across new/existing events.

Required Parameters How to use Description
hapikey= Used in the request URL Your Developer HAPIkey.  This must be a Developer HAPIkey associated with the Developer portal that the OAuth app was created in. 
event-type-id Used in the request URL The ID of the event type you want to update.
application-id  Used in the request JSON body The ID of the OAuth app you're creating the event type for.
name Used in the request JSON body

The name of the event type.


Optional Parameters How to use Description
headerTemplate Used in the request JSON body

The header template, used when displaying the event in the timeline. 

detailTemplate Used in the request JSON body The detail template, used when displaying the details of the event in the timeline.
objectType Used in the request JSON body The type of object (CONTACT, COMPANY, or DEAL) this event corresponds to. Defaults to CONTACT.