Skip to main content
Every protected request executes within the tenant and division scope assigned to the API key.

Scope resolution

Collection operations

Collection endpoints can query every tenant in the key scope when X-Tenant-ID is omitted. Send the header to restrict results to one authorized tenant.

Create operations

For a division-restricted key, an employee create request may omit divisionId only when the selected tenant has exactly one allowed division. Otherwise send an allowed division ID.

Existing resources

For GET and PATCH by ID, X-Tenant-ID narrows the lookup. The resource and all referenced target resources must be accessible through that tenant.

Placement rules

  • X-Tenant-ID never expands access.
  • A division belongs to one tenant.
  • divisionId can assign or move an employee only within the same tenant.
  • divisionId: null removes the division assignment; it does not transfer the employee.
  • Tenant transfer of an assigned employee is not exposed by the public update endpoint.
  • A create dry run can return a preview identifier that must not be used in later requests.

Common failures

Terminology

Review the distinction between company, tenant, division, portal permission, and API-key scope.
Last modified on August 28, 2026