Management
Create Custom Event Schema
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.
post/management/v1/projects/{projectId}/custom-event-schemas
Request body
Response
Returns the details about the custom event schema.
Example response
{
"id": "ms_oA8CawM07Q8i05Cx62U6euTK",
"created_at": "2024-03-27T08:00:09.472Z",
"updated_at": "2024-03-27T08:00:09.472Z",
"object": "custom-event-schema"
}