Skip to content

Create events schema

Design your events schema

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

Authentication

The following header is required 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 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"
}

Events > Get events schema

The GET endpoint retrieves event schema attributes like event name type and purchase status for a specific project within an organization using Manufactory access token authentication.

Events > Delete events schema

Tallyfy Manufactory allows deletion of event schemas through a DELETE API endpoint that requires organization ID project ID and authentication token in the request header.

Actors > Create actors schema

The POST /actors/schema endpoint enables creation of user schemas in Tallyfy Manufactory by specifying organization ID project ID attribute definitions and a unique identifier field with proper authentication headers.

Manufactory > Events

Tallyfy Manufactory allows you to design and build single event schemas for projects with careful planning of event properties being essential for successful implementation while requiring separate projects for multiple schemas.