oi CLI and the web application.
Base URL
Your API base URL is the URL of your OpenIndex deployment. If you’re using the hosted service:/browse, /domains, /calendar-sources, etc.) are served from this base URL. The oi CLI resolves this automatically from your profile’s --app-url.
Authentication
All API requests (except/health) require a Bearer token in the Authorization header:
Content type
Send all request bodies as JSON with theContent-Type header:
Work item keys
Work items use domain-scoped keys in the formatDOMAINKEY-123. Sub-tasks inherit the parent task key with a sequence suffix:
| Type | Key format | Example |
|---|---|---|
| Project | KEY-N | OPS-1 |
| Task | KEY-N | OPS-42 |
| Sub-task | KEY-N.N | OPS-42.1 |
GET /browse/OPS-42).
Endpoint groups
Authentication
Personal Access Tokens and invite claiming.
Work Items
Create, read, update, and manage work items.
Workflows
Workflow definitions and custom fields.
Domains
Domains and membership management.
Calendar
ICS calendar sources and events.
Mailboxes, routing rules, and email infrastructure.
Audit
Audit logs and operational statistics.
Health check
200 OK with no authentication required. Use this to verify your deployment is reachable.
Current user
Operational stats
HTTP status codes
| Code | Meaning |
|---|---|
200 OK | Request succeeded. |
201 Created | Resource created successfully. |
400 Bad Request | Invalid request body or parameters. Check the error message for details. |
401 Unauthorized | Missing or invalid Bearer token. |
403 Forbidden | Token does not have the required scope for this operation. |
404 Not Found | Resource does not exist or is not accessible with your credentials. |