Create an event definition

Creates a custom event definition.

Log in to see full request history
Body Params
string
required
length ≤ 50

The unique name of the custom event.

string
required

The label of the custom event.

string
length ≤ 200

The description of the event.

string
required

Type of the object that the event will be associated with.

  • CONTACT: Indicates that the object is a contact.
properties
array of objects

A list of property definitions for the event.

properties
Response

Response body
object
string

The name of the custom event definition.

string
length ≤ 50

The label of the event definition, used for display purposes.

string

The description of the event definition.

string

Type of the object that the event will be associated with.

  • CONTACT: Indicates that the object is a contact.

CONTACT

date-time

The time at which this object is created, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.

properties
array of objects

The list of property definitions for the event definition.

properties
object
string

The name of the custom property.

string
length ≤ 50

The label of the property, used for display purposes.

string

The description of the property.

date-time

The time at which this object is created, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.

string

The data type of the property.

  • STRING: Indicates a property that receives plain text strings.
  • NUMBER: Indicates a property that receives numeric values with up to one decimal.
  • TIMESTAMP: Indicates a property that receives epoch millisecond.
  • URL: Indicates a property that receives URLs, formatted as strings starting with http:// or https://.

STRING NUMBER TIMESTAMP URL

Language
Credentials