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

Request Body

{
    "id": 48,
    "site_id": 1,
    "title": "added-to-cart",
    "description": "testing",
    "data": {
        "product_id": "78"
    },
    "created_at": "2019-09-15T15:14:54.707-05:00",
    "updated_at": "2019-09-15T15:14:54.707-05:00",
    "slug": "added-to-cart"
}

Last updated