Skip to main content

Overview

Xenia is a multi-tenant operations management platform. Understanding its core entities will help you build effective integrations.
This page explains the platform’s data model. The public API is read- and reporting-focused: you can read users, locations, roles, tasks, and submissions, and pull analytics/exports. Creating and editing templates, tasks, projects, and submissions happens in the Xenia app — those write operations are not part of the API-key surface. See the API Reference for exactly what a client key can call.

Entity Hierarchy


Workspace

A Workspace is the top-level container that represents your organization. All data is scoped to a workspace. Key Points:
  • The workspace is derived automatically from your client key — you do not send a workspace-id header (only supply a workspace ID where an endpoint path contains {workspaceId})
  • Users can belong to multiple workspaces
  • Data is isolated between workspaces

Users & Roles

User

A User represents a person who can access the platform.

WorkspaceUser

A WorkspaceUser represents a user’s membership in a specific workspace.

Role

A Role defines permissions for users within a workspace. Role Permissions control what users can do:
  • CAN_MANAGE_USERS - Create, edit, delete users
  • CAN_MANAGE_ROLES - Create and modify roles
  • CAN_MANAGE_TASKS - Create and assign tasks
  • CAN_MANAGE_CHECKLIST - Create and edit templates

Locations

Locations represent physical sites in your organization, organized in a hierarchy.

Location Levels

Location levels define your organizational hierarchy:

Location Members

Users are assigned to locations. This determines:
  • Which locations they can access
  • Which tasks they receive
  • Which submissions they can view
Replace a single user’s memberships with Replace User Locations.

Location Attributes

Location attributes are typed properties you define once and then set per location — Region, Drive Thru Lanes, Remodel Date, Has Freezer. Six types are available: single_select, multi_select, number, boolean, text, and date. Attributes are how you model a dimension that changes over time or that you want to drive assignment from, without restructuring the hierarchy itself.

Keeping locations in sync from your own systems

The Enterprise Locations endpoints let an IT system maintain this structure on a schedule instead of by hand. Every write is a bulk, idempotent upsert keyed by your own external_id, so re-running the same payload is safe:
Moving an existing location to a different parent (for example a store from one district to another) is not supported by these endpoints — a placement change on an existing location is rejected rather than applied. Re-parent in the Xenia UI, or model the changing dimension as a location attribute and update its value instead.
These endpoints require the Public API and Location Attributes features on your workspace.

Templates (Checklists)

A Template (also called Checklist) is a blueprint for inspections, audits, or forms.

Template Structure

Item Types

Templates contain various question types:

Submissions

A Submission (also called ChecklistLog) is a completed instance of a template.

Submission Lifecycle

Submission Items

Each submission contains responses to template items:

Tasks

A Task represents a work item or to-do.

Task Types

Task Assignees

Tasks can be assigned to:
  • Individual users
  • Teams
  • Roles

Projects

A Project groups related tasks together. Use Cases:
  • Group daily opening/closing tasks
  • Organize seasonal maintenance schedules
  • Track multi-step projects

Entity Relationships


Next Steps

Error Handling

Learn to handle API errors gracefully

Users API

Read and manage users

Tasks API

Read tasks and work orders

Reporting API

Submission records and analytics