Creates a custom event schema.
The "properties" object is required, but it can be empty, however. This object is for optional custom properties (metadata).
๐ Custom Event Documentation
Read Custom Events article to learn how custom events work in Voucherify.
Read also the details about the Track Custom Event endpoint and the Custom Event Object.
Provide the unique identifier of the project.
"proj_TrlkLiH4"
Defines the custom event schema.
Request body schema for POST /management/v1/projects/{projectId}/custom-event-schema.
Object representing a custom event schema.
Returns the details about the custom event schema.
Response body schema for POST /management/v1/projects/{projectId}/custom-event-schema.
Object containing the response to creating a custom event schema.
Object representing a custom event schema.
Unique identifier of the custom event schema.
"ms_oA8CawM07Q8i05Cx62U6euTK"
User-defined name of the custom event. This is also shown in Project Settings > Event Schema in the Voucherify Dashboard.
Object containing custom event schema and its custom attributes (metadata).
Timestamp representing the date and time when the custom event schema was created. The value is shown in the ISO 8601 format.
"2024-03-27T08:00:09.472Z"
The type of the object represented by JSON.
custom-event-schema "custom-event-schema"
Timestamp representing the date and time when the custom event schema was updated. The value is shown in the ISO 8601 format.
"2024-03-27T08:00:09.472Z"