Skip to main content
Domains are the top-level organizational boundary in OpenIndex. Each domain owns its own work items, workflows, categories, and mailboxes. Membership is role-based: owner, admin, member, or viewer. All domain endpoints require a Bearer token. See API Authentication.

Domains

List domains

Returns all domains the authenticated user is a member of.

Create a domain

string
required
Display name for the domain.
string
required
Short uppercase key used as the prefix for work item keys (e.g. OPS produces keys like OPS-1). Must be unique across the instance.
string
Optional description.

Get a domain

Update a domain

You can update name and description. The domain key cannot be changed after creation.

Deleting a domain

Deleting a domain cascades to all work items, workflows, and memberships in that domain. Because this is destructive, OpenIndex requires a two-step delete flow.

Step 1: Preview the deletion

Returns a summary of all resources that will be deleted, including work item counts, workflow counts, and member counts.
Always run the delete preview before deleting a domain. Review the impact before proceeding.

Step 2: Confirm and delete

The confirmCascade=true query parameter is required. Requests without it are rejected. The deletion is permanent and cannot be undone.

Domain membership

Members have one of four roles:

List members

Add a member

string
required
ID of the user to add.
string
required
Role to assign: admin, member, or viewer.

Update a member’s role

string
required
New role: admin, member, or viewer.

Remove a member

Removes the member from the domain. Their work items remain assigned but they lose access.