Introduction
The Xenia API lets you read your operational data — users, locations, tasks, and submissions — and pull reporting/analytics into external systems and BI tools. This guide gets you to your first API call in a few minutes.Prerequisites
Before you begin, ensure you have:- A Xenia workspace with admin/owner access
- Public API enabled — this is an add-on capability. If you don’t see Settings → Public Integrations, contact your Xenia representative to enable it.
- API credentials — a client key + secret you generate in the workspace settings
Step 1: Generate API credentials
- Log in to the Xenia web app
- Open Settings → Public Integrations
- Click Create Client Key
- Enter a name for your key (e.g., “My Integration”) and choose the default user the key acts as
- Save your credentials securely:
- Client Key — your API identifier
- Client Secret — your API secret (shown only once)
Step 2: Understand authentication
The Xenia API uses client credentials. Include these headers with every request:You do not send a
workspace-id header — the workspace is derived automatically from the key. Only supply a workspace ID where an endpoint path contains {workspaceId}.Step 3: Make your first API call
Verify your credentials by fetching the users in your workspace. Request:UserWorkspaces[])
A
200 with a data array means your credentials work. A 401 means the key/secret is wrong; a 403 means this route isn’t allowed for API keys or the key’s user lacks permission.Step 4: Confirm your identity and workspace
API base URL
All requests go to:Common API paths
Next steps
Core Concepts
Understand the key entities and how they relate
Error Handling
Response shapes and how to handle errors
Users API
Manage users in your workspace
Data Extraction
Pull submissions and analytics into BI tools
Need help?
- Email Support: support@xenia.team
- API Reference: Browse the complete API Reference