Skip to content

Get events schema

You can fetch an events schema belonging to a specific project using the endpoint GET /events/schema/{org_id}/{project_id}.

Authentication

The following header is required for all API calls:

  • X-Manufactory-Auth - Manufactory access token

Required values

  • org_id (required) string - Manufactory org ID.
  • project_id (required) number - Manufactory project ID.

Response example

{
"attributes": [
{
"name": "event_name",
"display_name": "Event Name",
"data_type": "text"
},
{
"name": "event_type",
"display_name": "Event Type",
"data_type": "text"
},
{
"name": "made_purchase",
"display_name": "Made Purchase",
"data_type": "boolean"
}
],
"org_id": "xyz",
"project_id": 12345
}

Events > Create events schema

The POST /events/schema endpoint enables creation of event schemas by defining organization ID project ID and attribute specifications while requiring authentication through a Manufactory access token.

Actors > Get actors schema

The GET endpoint retrieves actor schema details by organization and project IDs returning attribute definitions with data types and unique identifiers through an authenticated request.

Projects > Get all projects

The GET endpoint retrieves multiple projects within an organization by providing an org_id and authentication token to return details like project IDs names descriptions timezones and creation dates.

Projects > Get a project

The endpoint allows retrieving specific Manufactory project details by providing organization ID and project ID with proper authentication through an access token header.