Create
Create Event
POST
https://YOUR-CONTAINER.datumfactory.com/api/v1/events
This endpoint creates an Event. The, title, slug, and data fields are required. The data field is where you can record custom properties. Examples of this include:
One property, one value: {"product_id":"23"}
Multiple values for one property: {"tags":"one, two"}
Multiple properties and values: {"product_id":"34", "visit_id":"634"}
Headers
Name
Type
Description
Authorization
string
Authentication token.
Request Body
Name
Type
Description
data
array
Custom properties hash.
description
string
Optional description of event.
title
string
Human readable version of the event.
slug
string
The event slug.
Last updated