v1
latestOpenAPI 3.0.02026-07-2491237338.9 KBCustom Events
Create an event definition
Creates a custom event definition.
post/event/definitions
Request body
Example request
{
"name": "unique_event_name",
"label": "My event label",
"description": "Describes this event",
"objectType": "CONTACT",
"properties": [
{
"name": "unique_property_name",
"label": "Property Label",
"description": "Describes this property",
"type": "STRING"
}
]
}Response
Successfully created an event definition.
Example response
{
"name": "propertyName",
"label": "Property Label",
"description": "Describes this property",
"objectType": "CONTACT",
"createTime": "2024-08-22T00:00:00.000Z",
"properties": [
{
"name": "propertyName",
"label": "Property Label",
"description": "Describes this property",
"createTime": "2024-08-22T00:00:00.000Z"
}
]
}