Set theme to dark (⇧+D)
Manufactory

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
}