Skip to content

Create actors schema

Create an actor schema via API

You can create a users schema in Tallyfy Manufactory using the POST /actors/schema endpoint. Here’s what you need.

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 an attribute name and its data type. See the complete list of valid data types.
  • unique_id (required) string - The attribute that’s used as a unique ID for an actor’s profile1 to differentiate user profiles.

Request example

{
"org_id": "xyz",
"unique_id": "email",
"project_id": 12345,
"attributes":{
"City": "TEXT",
"Country": "TEXT",
"Email": "TEXT",
"Username": "TEXT"
}
}

Response example

{
"message": "Actors schema created successfully"
}

Manufactory > Actors

Actors represent users in Tallyfy Manufactory projects. Design and build actor schemas by…

Footnotes

  1. Must be one of the defined attributes and serves as the primary identifier across all actor records