post https://api.ycloud.com/v2/event/definitions
Creates a custom event definition.
Log in to see full request history
Response
Creates a custom event definition.
xxxxxxxxxx
curl --request POST \
--url https://api.ycloud.com/v2/event/definitions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"objectType": "CONTACT"
}
'
xxxxxxxxxx
16{
"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",
"type": "STRING"
}
]
}