Set theme to dark (⇧+D)
Manufactory

Design your events schema

You can create events schema using the endpoint POST /events/schema.

​​ Authentication

The following header is required for all API calls:

  • X-Manufactory-Auth - Tallyfy jwt or Manufactory jwt

​​ Required keys

  • org_id (required) string - Manufactory org ID.
  • project_id (required) number - The project ID associated with this schema.
  • attributes (required) object - Pairs containing attribute name and the corresponding data type. A complete list of valid data types.

​​ Request example

{
  "org_id": "xyz",
  "project_id": 12345,
  "attributes":{
    "Event name": "TEXT",
    "Event type": "TEXT",
    "Made purchase": "BOOLEAN"
  }
}

​​ Response example

{
  "message": "Events schema created successfully"
}