Create Property for Timeline Event Type

POST /integrations/v1/:application-id/timeline/event-types/:event-type-id/properties

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Developer Tools

Create a new property for a specified timeline event type.
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.
 
application-id Used in the request URL The ID of the application that the event type belongs to.
event-type-id Used in the request URL The ID of the event type that you want to create the property for.
name Used in the request JSON body The unique internal name of the property. This is used to set the property when creating an event.
label Used in the request JSON body A label used for displaying the property in the user interface. 
propertyType Used in the request JSON body The type of information that will be stored in this property. This must be one of the following: Date, Enumeration, Numeric, or String.

Optional Parameters How to use Description
objectProperty Used in the request JSON body Specifies a property for the event type's objectType.  If objectProperty is set, then the corresponding property will be set in the object that the event is associated with (i.e. if objectType is CONTACT, and objectProperty is jobtitle, we'll update the job title of the contact record).
options Used in the request JSON body The set of available options for Enumeration properties. See the examples for more details.