Skip to content

Get actors schema

Get an actor schema via API

You can get actors schema belonging to a specific project using the endpoint GET /actors/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": "city",
"display_name": "City",
"data_type": "text"
},
{
"name": "country",
"display_name": "Country",
"data_type": "text"
},
{
"name": "email",
"display_name": "Email",
"data_type": "text"
},
{
"name": "username",
"display_name": "Username",
"data_type": "text"
}
],
"org_id": "xyz",
"unique_id": "email",
"project_id": 12345
}

Actors > Delete actors schema

Actor schemas can be deleted through a DELETE endpoint by providing organization and project IDs along with Manufactory authentication token in the request header.

Actors > Create actors schema

The POST /actors/schema endpoint allows creation of actor schemas by specifying organization ID project ID attributes and a unique identifier with proper authentication through a Manufactory access token.

Events > Get events schema

The GET endpoint retrieves event schema details including attribute definitions with data types and display names by specifying organization and project IDs through an authenticated request.

Projects > Get a project

The GET endpoint retrieves a single project’s details including name description timezone and creation date by providing organization ID project ID and authentication token.