Skip to content

Create events schema

Design your events schema

You can create an events schema in Tallyfy Manufactory using the POST /events/schema endpoint.

Authentication

You’ll need this header for all API calls:

  • X-Manufactory-Auth - Manufactory access token

Required keys

  • org_id (required) string - Manufactory org ID.
  • project_id (required) number - The project ID that’s associated with this schema.
  • attributes (required) object - Pairs of attribute name and data type. Here’s the 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"
}

Manufactory > Events

Design and build a single event schema per project in Tallyfy Manufactory. Plan your event…