adsum API (1.0.0)

Download OpenAPI specification:

License: GPL-2.0-or-later

Time tracking, working-time accounts, leave and absence management.

Source of truth for the HTTP API under /api/v1. Conventions (formats, errors, paging, idempotency, concurrency, rate limits) are specified in the OpenSpec capability "api-conventions"; behaviour per operation in the capability specs that name the operationId. The API answers in English (Content-Language: en), whatever the user's saved language; the web application renders texts in the user's language from codes and parameters (see "platform/localisation"). Codes and enum values are never translated.

Identity

Authentication, single sign-on, current user, roles.

Obtain an access and refresh token pair (password or SSO code grant)

Request Body schema: application/json
required
grantType
required
string
Value: "password"
email
required
string <email>
password
required
string <password>
otp
string^[0-9]{6}$

TOTP code, required when the user has enrolled a second factor.

recoveryCode
string

Single-use recovery code instead of a TOTP code.

clientName
string <= 80 characters

The name of the app in the session list; without it, the device is read from the User-Agent.

emailCode
string^[0-9]{6}$

Code sent by sendLoginEmailCode, required instead of a TOTP code when the user logs in with codes by e-mail; without it the answer is 401 with /problems/email-code-required.

Responses

Request samples

Content type
application/json
Example
{
  • "grantType": "password",
  • "email": "user@example.com",
  • "password": "pa$$word",
  • "otp": "string",
  • "recoveryCode": "string",
  • "clientName": "string",
  • "emailCode": "string"
}

Response samples

Content type
application/json
{
  • "accessToken": "string",
  • "refreshToken": "string",
  • "tokenType": "Bearer",
  • "expiresIn": 900
}

Mail a login code as second factor

For a user whose company requires a second factor and allows codes by e-mail, who has no authenticator and holds neither hr nor admin. The password is checked and counted like a login. The six-digit code is valid 10 minutes, works once and is void after 5 wrong entries; only the code sent last counts. At most 3 codes are sent per 15 minutes. Any other account answers 409.

Request Body schema: application/json
required
email
required
string <= 190 characters
password
required
string <password>

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "password": "pa$$word"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Rotate the refresh token and obtain a new token pair

Request Body schema: application/json
required
refreshToken
required
string

Responses

Request samples

Content type
application/json
{
  • "refreshToken": "string"
}

Response samples

Content type
application/json
{
  • "accessToken": "string",
  • "refreshToken": "string",
  • "tokenType": "Bearer",
  • "expiresIn": 900
}

Revoke the presented refresh token

Authorizations:
bearerAuthsessionCookie
Request Body schema: application/json
required
refreshToken
required
string

Responses

Request samples

Content type
application/json
{
  • "refreshToken": "string"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Request a password reset link (always 202)

Request Body schema: application/json
required
email
required
string <email>

Responses

Request samples

Content type
application/json
{
  • "email": "user@example.com"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Set a new password with a reset token

Request Body schema: application/json
required
token
required
string
newPassword
required
string <password> >= 12 characters

Responses

Request samples

Content type
application/json
{
  • "token": "string",
  • "newPassword": "pa$$word_qwe"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Set the first password with an invitation token

Request Body schema: application/json
required
token
required
string
newPassword
required
string <password> >= 12 characters

Responses

Request samples

Content type
application/json
{
  • "token": "string",
  • "newPassword": "pa$$word_qwe"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List enabled login options for login screens

Responses

Response samples

Content type
application/json
{
  • "passwordLoginAvailable": true,
  • "providers": [
    ]
}

Start an SSO login (redirects to the identity provider)

path Parameters
providerId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
client
string
Default: "web"
Enum: "web" "app"
redirectUri
string

Required for client=app; must exactly match the provider's appRedirectUris.

codeChallenge
string

Required for client=app; PKCE S256 challenge of the app's verifier.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Identity provider callback (not called by clients directly)

path Parameters
providerId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
code
string
state
required
string
error
string

Responses

SAML assertion consumer service (posted by the identity provider, not called by clients directly)

Accepts a response only when the provider signed it, it answers a login request adsum sent in the last ten minutes, its assertion was not accepted before, and its validity differs from adsum's clock by at most two minutes.

path Parameters
providerId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
Request Body schema: application/x-www-form-urlencoded
required
SAMLResponse
required
string

The base64-encoded response of the HTTP-POST binding.

RelayState
string

Responses

adsum's SAML service provider metadata for one identity provider

The entity ID (this address), the assertion consumer service and the certificate adsum signs its login requests with. The identity provider's admin imports it.

path Parameters
providerId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

The authenticated user with companies, roles and permissions

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "displayName": "string",
  • "email": "user@example.com",
  • "preferences": {
    },
  • "effectiveLocale": "en",
  • "timeZone": "Europe/Berlin",
  • "twoFactorEnabled": true,
  • "passwordChangeRequired": true,
  • "employee": {
    },
  • "pushAvailable": true,
  • "avatarUrl": "http://example.com",
  • "companies": [
    ],
  • "navigationAreas": [
    ],
  • "navigationHubs": [
    ]
}

Read the saved user preferences (language, theme, formats, page size)

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "theme": "system",
  • "locale": "en",
  • "dateFormat": null,
  • "timeFormat": null,
  • "calendarSystem": "gregorian",
  • "firstDayOfWeek": null,
  • "defaultPageSize": 10
}

Change the saved preferences (language, theme, formats, page size)

Authorizations:
bearerAuthsessionCookie
header Parameters
If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/merge-patch+json
required
theme
required
string
Default: "system"
Enum: "system" "light" "dark"

system follows the operating system's prefers-color-scheme; light and dark are explicit choices.

locale
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$

Saved interface language. Initialised at the first login from the browser's preferred language (English if none is supported); afterwards changed only by the user, among the languages the company the user acts in offers (enabledLanguages). A language the home company stops offering stays until the next login, which replaces it and tells the user once.

DateFormat (string) or null
Default: null

How dates are shown to and entered by this user on pages, in e-mails and human-oriented exports; null follows the company's dateFormat. The API always exchanges ISO 8601 dates.

TimeFormat (string) or null
Default: null

The clock shown to this user; null follows the company's timeFormat.

calendarSystem
string
Default: "gregorian"

The calendar system dates are shown and entered in, one of the installed systems (the core installs gregorian; packages may add others). Storage, the API and calculations always use the Gregorian ISO date.

FirstDayOfWeek (string) or null
Default: null

The day weeks start on in date pickers, calendars and week grids; null follows the company. Week numbers stay ISO 8601 weeks.

defaultPageSize
integer (PageSize)
Default: 25
Enum: 10 25 50 100 200

The rows per page of every list without a page size of its own.

Responses

Request samples

Content type
application/merge-patch+json
{
  • "theme": "system",
  • "locale": "en",
  • "dateFormat": null,
  • "timeFormat": null,
  • "calendarSystem": "gregorian",
  • "firstDayOfWeek": null,
  • "defaultPageSize": 10
}

Response samples

Content type
application/json
{
  • "theme": "system",
  • "locale": "en",
  • "dateFormat": null,
  • "timeFormat": null,
  • "calendarSystem": "gregorian",
  • "firstDayOfWeek": null,
  • "defaultPageSize": 10
}

Who accessed my personal data, and when

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

How many items wait on the pages of my navigation

The counts of the navigation entries shown to the caller in the active company that count what waits for them, such as approvals for the approvals they decide now. Entries with nothing waiting are left out. A client reads them again when the entry's real-time topic announces a change.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "counts": {
    }
}

My Start menu

The entries the caller pinned to the first group of the navigation, Start, in the active company, in their order, after the dashboard that always comes first. Whoever never changed it has the entries the core and the installed packages place in Start (customised is false). Pinned entries the caller does not see at the moment (access lost, module switched off, package removed) stay in entries and are hidden in the navigation. available are the entries the caller may pin, in the order of the navigation. The menu is private to the caller.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "entries": [
    ],
  • "customised": true,
  • "collapsed": [
    ],
  • "maximum": 15,
  • "available": [
    ]
}

Change my Start menu

Replaces the pinned entries with entries, in that order. At most maximum entries, each once, never the dashboard, and only entries the caller may pin now or had pinned already (422).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
entries
required
Array of strings[ items non-empty ]

The keys of the entries to pin, in their order.

Responses

Request samples

Content type
application/json
{
  • "entries": [
    ]
}

Response samples

Content type
application/json
{
  • "entries": [
    ],
  • "customised": true,
  • "collapsed": [
    ],
  • "maximum": 15,
  • "available": [
    ]
}

Reset my Start menu to the default

Resets the caller's own Start menu in the active company, so the entries the core and the installed packages place in Start apply again (customised is false). The menu's version still changes, so a change read before the reset is refused with 412. Without an own menu nothing changes.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Fold sections of my navigation

Replaces the sections of the navigation the caller folded in the active company with collapsed, the keys of the groups as the navigation names them (team, organisation, administration, ...). Start always stays open and is refused with 422, as is a section the caller does not see now and had not folded already, and a section listed twice. The state belongs to the Start menu and changes its version, so it is read with getMyStartMenu and protected by the same ETag; resetting the Start menu keeps it. The section of the page that is open is shown open whatever is stored.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
collapsed
required
Array of strings[ items non-empty ]

The keys of the sections to fold, which replace the folded ones. Never home, the Start section.

Responses

Request samples

Content type
application/json
{
  • "collapsed": [
    ]
}

Response samples

Content type
application/json
{
  • "entries": [
    ],
  • "customised": true,
  • "collapsed": [
    ],
  • "maximum": 15,
  • "available": [
    ]
}

Requests of companies to add my account

The open requests of companies that want to link the caller's existing account to one of their employees, oldest first. They concern the account and need no company context; only the caller decides them.

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Accept a company's request

Links the caller's account to the employee the company named; the company appears in the company switch.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Decline a company's request

The caller's account stays apart from the company; the employee has no account again.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List my personal access tokens (metadata only)

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Create a named personal access token valid for 7 to 365 days

Not callable with a personal access token. Not idempotent on purpose: a stored response would keep the token value.

Authorizations:
bearerAuthsessionCookie
Request Body schema: application/json
required
name
required
string [ 1 .. 80 ] characters
accessLevel
string
Default: "readOnly"
Enum: "readOnly" "readWrite"
validityDays
integer [ 7 .. 365 ]
Default: 365

Days until the token expires; reminders follow 30, 7 and 1 day before expiry.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "accessLevel": "readOnly",
  • "validityDays": 365
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "prefix": "string",
  • "accessLevel": "readOnly",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "lastUsedAt": "2026-10-01T08:15:00+02:00",
  • "revokedAt": "2026-10-01T08:15:00+02:00",
  • "owner": {
    },
  • "token": "string"
}

Revoke one of my tokens immediately

Not callable with a personal access token.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List token metadata of users in the active company (admin, for security incidents)

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
userId
string <uuid> (Uuid)
Examples: userId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Revoke a user's token (admin); the user is notified and the action audited

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Change own password (revokes all other sessions and refresh tokens)

Authorizations:
bearerAuthsessionCookie
Request Body schema: application/json
required
currentPassword
required
string <password>
newPassword
required
string <password> >= 12 characters

Responses

Request samples

Content type
application/json
{
  • "currentPassword": "pa$$word",
  • "newPassword": "pa$$word_qwe"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Start TOTP enrolment (returns the secret once)

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{}

Disable TOTP (not allowed when required by role policy)

Authorizations:
bearerAuthsessionCookie
Request Body schema: application/json
required
password
required
string <password>
otp
required
string

Responses

Request samples

Content type
application/json
{
  • "password": "pa$$word",
  • "otp": "string"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Confirm TOTP enrolment with a code; returns recovery codes once

Authorizations:
bearerAuthsessionCookie
Request Body schema: application/json
required
otp
required
string^[0-9]{6}$

Responses

Request samples

Content type
application/json
{
  • "otp": "string"
}

Response samples

Content type
application/json
{
  • "recoveryCodes": [
    ]
}

List identity providers of the active company (admin)

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Add an identity provider (admin)

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
preset
string or null
Enum: "googleWorkspace" "entraId" "keycloak" "adfs" null
tenant
string or null <= 255 characters

For a preset: the tenant ID or primary domain (Entra ID), the address of the realm (Keycloak) or the host of the federation service (ADFS). Google Workspace needs none.

type
required
string (IdentityProviderType) <= 10 characters

oidc and saml come with adsum; an installed package may add another kind, such as ldap with adsum-ldap. An unknown type is refused with 422.

SamlConnectionInput (object) or object

What the provider's kind needs beyond the common settings: a SamlConnectionInput for saml; a kind an installed package adds documents its own. Ignored for oidc.

label
string <= 80 characters
enabled
boolean
Default: false
issuerUrl
string <uri>
clientId
string
clientSecret
string

Omit on update to keep the stored secret.

scopes
Array of strings
object (ClaimMapping)
allowedEmailDomains
Array of strings
justInTimeProvisioning
boolean
Default: false
object (RoleMapping)
enforceForDomains
boolean
Default: false
requireMfaClaim
boolean
Default: false
appRedirectUris
Array of strings
Default: ["de.webvision.adsum:/oauth/callback"]

Left out, a provider allows the adsum app.

Responses

Request samples

Content type
application/json
{
  • "preset": "googleWorkspace",
  • "tenant": "string",
  • "type": "oidc",
  • "connection": {},
  • "label": "string",
  • "enabled": false,
  • "issuerUrl": "http://example.com",
  • "clientId": "string",
  • "clientSecret": "string",
  • "scopes": [
    ],
  • "claimMapping": {
    },
  • "allowedEmailDomains": [
    ],
  • "justInTimeProvisioning": false,
  • "roleMapping": {
    },
  • "enforceForDomains": false,
  • "requireMfaClaim": false,
  • "appRedirectUris": [
    ]
}

Response samples

Content type
application/json
{
  • "preset": "string",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "oidc",
  • "label": "string",
  • "enabled": true,
  • "issuerUrl": "http://example.com",
  • "clientId": "string",
  • "connection": {},
  • "clientSecretSet": true,
  • "scopes": [
    ],
  • "claimMapping": {
    },
  • "allowedEmailDomains": [
    ],
  • "justInTimeProvisioning": true,
  • "roleMapping": {
    },
  • "enforceForDomains": true,
  • "requireMfaClaim": true,
  • "appRedirectUris": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Read an identity provider (secret never returned)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "preset": "string",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "oidc",
  • "label": "string",
  • "enabled": true,
  • "issuerUrl": "http://example.com",
  • "clientId": "string",
  • "connection": {},
  • "clientSecretSet": true,
  • "scopes": [
    ],
  • "claimMapping": {
    },
  • "allowedEmailDomains": [
    ],
  • "justInTimeProvisioning": true,
  • "roleMapping": {
    },
  • "enforceForDomains": true,
  • "requireMfaClaim": true,
  • "appRedirectUris": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Replace an identity provider's settings (omit clientSecret to keep it)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
preset
string or null
Enum: "googleWorkspace" "entraId" "keycloak" "adfs" null
tenant
string or null <= 255 characters

For a preset: the tenant ID or primary domain (Entra ID), the address of the realm (Keycloak) or the host of the federation service (ADFS). Google Workspace needs none.

type
required
string (IdentityProviderType) <= 10 characters

oidc and saml come with adsum; an installed package may add another kind, such as ldap with adsum-ldap. An unknown type is refused with 422.

SamlConnectionInput (object) or object

What the provider's kind needs beyond the common settings: a SamlConnectionInput for saml; a kind an installed package adds documents its own. Ignored for oidc.

label
string <= 80 characters
enabled
boolean
Default: false
issuerUrl
string <uri>
clientId
string
clientSecret
string

Omit on update to keep the stored secret.

scopes
Array of strings
object (ClaimMapping)
allowedEmailDomains
Array of strings
justInTimeProvisioning
boolean
Default: false
object (RoleMapping)
enforceForDomains
boolean
Default: false
requireMfaClaim
boolean
Default: false
appRedirectUris
Array of strings
Default: ["de.webvision.adsum:/oauth/callback"]

Left out, a provider allows the adsum app.

Responses

Request samples

Content type
application/json
{
  • "preset": "googleWorkspace",
  • "tenant": "string",
  • "type": "oidc",
  • "connection": {},
  • "label": "string",
  • "enabled": false,
  • "issuerUrl": "http://example.com",
  • "clientId": "string",
  • "clientSecret": "string",
  • "scopes": [
    ],
  • "claimMapping": {
    },
  • "allowedEmailDomains": [
    ],
  • "justInTimeProvisioning": false,
  • "roleMapping": {
    },
  • "enforceForDomains": false,
  • "requireMfaClaim": false,
  • "appRedirectUris": [
    ]
}

Response samples

Content type
application/json
{
  • "preset": "string",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "oidc",
  • "label": "string",
  • "enabled": true,
  • "issuerUrl": "http://example.com",
  • "clientId": "string",
  • "connection": {},
  • "clientSecretSet": true,
  • "scopes": [
    ],
  • "claimMapping": {
    },
  • "allowedEmailDomains": [
    ],
  • "justInTimeProvisioning": true,
  • "roleMapping": {
    },
  • "enforceForDomains": true,
  • "requireMfaClaim": true,
  • "appRedirectUris": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Remove an identity provider (refused if it would lock out all admins)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Check the provider's connection by its kind, without logging anyone in

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
object

Responses

Request samples

Content type
application/json
{
  • "login": {
    }
}

Response samples

Content type
application/json
{
  • "checks": [
    ]
}

List the users of the active company with their roles (admin)

Everyone employed in the company with an account and everyone holding a role there, so admins grant and revoke hr and admin by person. Ordered by name.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Give an account without employee record a new login address

The new address receives a link valid 24 hours and the old one a notice; the account logs in with the old address until the link is confirmed, and both are told then. The login of an employee is their work e-mail and answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
email
required
string <email> <= 190 characters

Responses

Request samples

Content type
application/json
{
  • "email": "user@example.com"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Require a user to set a new password at the next login

Until the user has set a new password, they can only do that, read their own account or log out; the API answers 403 with /problems/password-change-required. The requirement ends with the change. An account whose password an identity provider manages answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Remove the authenticator of a user who lost their device

Removes the authenticator and the recovery codes, ends every session and token of the user and tells them (security.twoFactorReset). A user who needs a second factor enrols a new one at the next login. Admins cannot reset their own (403).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the blocks of a user's account

Every block of the user in the company, the latest start first, with source, reason, period and who set and lifted it. The note is shown to HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Block a user's account

Blocks the account from the start date (00:00 in the company's time zone; now without a date) until the end date (00:00, excluded; open without one). An immediate block ends every session and token of the user at once, a later one at the first request after its start. Nobody blocks themselves, and a block that would leave the company without an active, unblocked admin is refused (422). While the user has an open block, another one is refused with 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
reason
required
string (AccountBlockReason)
Enum: "securityIncident" "suspension" "leaveOfAbsence" "other"
note
string or null <= 1000 characters

Seen by HR only.

Date (string) or null

The first blocked day, from 00:00 in the company's time zone; now without it.

Date (string) or null

The day the user may log in again, from 00:00 in the company's time zone; open without it.

Responses

Request samples

Content type
application/json
{
  • "reason": "securityIncident",
  • "note": "string",
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "userId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "source": "manual",
  • "reason": "securityIncident",
  • "note": "string",
  • "startsAt": "2019-08-24T14:15:22Z",
  • "endsAt": "2019-08-24T14:15:22Z",
  • "active": true,
  • "createdBy": {
    },
  • "liftedBy": {
    },
  • "liftedAt": "2019-08-24T14:15:22Z"
}

Lift a block

Ends the block now. A block requested by a disciplinary action is lifted by its withdrawal or by HR only (403 for an admin without HR). An ended block answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
blockId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "userId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "source": "manual",
  • "reason": "securityIncident",
  • "note": "string",
  • "startsAt": "2019-08-24T14:15:22Z",
  • "endsAt": "2019-08-24T14:15:22Z",
  • "active": true,
  • "createdBy": {
    },
  • "liftedBy": {
    },
  • "liftedAt": "2019-08-24T14:15:22Z"
}

Read the API version and what this installation provides

The API version (a semantic version within /api/v1) and the product version, for everyone, so a client built for a newer API can refuse to start. Signed-in callers also get the installed packages with their versions and the features of their company that change which operations or fields a client must use. A path of a package that is not installed answers 404 with a problem document.

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "apiVersion": "1.0.0",
  • "productVersion": "string",
  • "packages": [
    ],
  • "features": {
    }
}

List who changed what in the company

Every successful changing operation of the company, newest first: when, by whom, which operation on which subject, from where (user, system, migration, directory) and with which access token, without field values (those are in the change history). For subjects that belong to a person, subjectId is only given to admins who also hold hr. from and to are days in the company's time zone, both included.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
actorId
string <uuid> (Uuid)
Examples: actorId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

The user who acted.

operation
string <= 128 characters
subjectType
string <= 64 characters
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

List the security events of the company

The security events of the company's people and of the company itself, newest first, with the full IP address and user agent for correlation with web server logs. Failed logins for unknown identifiers appear where the identifier's domain is one the company's people log in with. Every read is recorded in the access log of the persons concerned. from and to are days in the company's time zone, both included.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
type
string <= 64 characters
userId
string <uuid> (Uuid)
Examples: userId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
outcome
string
Enum: "success" "failure"
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Download the filtered security events as CSV

The events listSecurityEvents lists with the same filters, as CSV with column headers in the requester's language and the values as codes, the full IP address and user agent included. Recorded in the access log of the persons concerned like the list.

Authorizations:
bearerAuthsessionCookie
query Parameters
type
string <= 64 characters
userId
string <uuid> (Uuid)
Examples: userId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
outcome
string
Enum: "success" "failure"
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List my logins of the last 90 days

The caller's logins, failed logins, lockouts, ended sessions and changes of password and second factor of the last 90 days, newest first, with the device read from the browser and the address, so they can spot misuse. A login whose session is still open names it, so it can be ended with revokeMySession.

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List my web sessions and app logins

Every web session and app login of the caller that can still make a request, the oldest first, with the device read from the browser or the client name given at createToken. current marks the session of this request.

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

End every session except this one

Web sessions need a new login at their next request; app logins lose their refresh and access tokens.

Authorizations:
bearerAuthsessionCookie

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

End one of my sessions

Ends the session at once: a web session needs a new login at its next request, an app login loses its refresh and access tokens. The session of another user answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Confirm a new login address with the link it received

Request Body schema: application/json
required
token
required
string <= 200 characters

Responses

Request samples

Content type
application/json
{
  • "token": "string"
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List explicit hr/admin role assignments in the active company (admin)

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Grant hr or admin to a user in the active company (admin)

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
userId
required
string <uuid> (Uuid)
role
required
string
Enum: "hr" "admin"

Responses

Request samples

Content type
application/json
{
  • "userId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "role": "hr"
}

Response samples

Content type
application/json
{
  • "userId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "role": "hr"
}

Revoke hr or admin from a user (refused for the last admin)

Authorizations:
bearerAuthsessionCookie
path Parameters
userId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
role
required
string
Enum: "hr" "admin"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Get the company's password and session rules

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "passwordMinLength": 12,
  • "passwordHistory": 0,
  • "passwordMaxAgeDays": 0,
  • "idleTimeoutMinutes": 5,
  • "absoluteSessionHours": 1,
  • "allowedSecondFactors": [
    ],
  • "twoFactorRequiredForAll": true,
  • "securityLogRetentionDays": 30
}

Change the company's password and session rules

For a person who belongs to several companies, the strictest value of each rule applies. Changes are recorded in the change history and announced as SecuritySettingsChanged.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

passwordMinLength
required
integer [ 12 .. 128 ]

Characters, counted as Unicode code points.

passwordHistory
required
integer [ 0 .. 24 ]

Previous passwords that cannot be used again.

passwordMaxAgeDays
required
integer [ 0 .. 730 ]

0 for never, otherwise 30 to 730; an older password is changed after the next login.

idleTimeoutMinutes
required
integer [ 5 .. 10080 ]

Minutes without activity after which a web session ends; 10080 (7 days) by default.

absoluteSessionHours
required
integer [ 1 .. 720 ]

Hours after the login after which a web session ends; 720 (30 days) by default.

allowedSecondFactors
required
Array of strings unique
Items Enum: "totp" "emailCode"

Always includes totp.

twoFactorRequiredForAll
required
boolean
securityLogRetentionDays
required
integer [ 30 .. 730 ]

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "passwordMinLength": 12,
  • "passwordHistory": 0,
  • "passwordMaxAgeDays": 0,
  • "idleTimeoutMinutes": 5,
  • "absoluteSessionHours": 1,
  • "allowedSecondFactors": [
    ],
  • "twoFactorRequiredForAll": true,
  • "securityLogRetentionDays": 30
}

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "passwordMinLength": 12,
  • "passwordHistory": 0,
  • "passwordMaxAgeDays": 0,
  • "idleTimeoutMinutes": 5,
  • "absoluteSessionHours": 1,
  • "allowedSecondFactors": [
    ],
  • "twoFactorRequiredForAll": true,
  • "securityLogRetentionDays": 30
}

Organisation

Company settings, departments, job positions and roles, employment types, locations.

Read the profile and settings of the active company

Contains no personal data.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "address": {
    },
  • "currency": "EUR",
  • "groupParentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "timeZone": "Europe/Berlin",
  • "logoUrl": "string",
  • "settings": {
    }
}

Change the company profile or settings (admin only)

Profile (name, address with its region, time zone) and settings, including the three access settings managerScope, colleagueAbsenceVisibility and managerSeesSickness. HR who is not admin receives 403.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

name
string [ 1 .. 120 ] characters
object (Address)
timeZone
string
currency
string (Currency) ^[A-Z]{3}$

Refused with 409 once an amount is stored in the company.

object (CompanySettingsUpdate)

Partial CompanySettings; only sent settings change, an unknown setting is a violation. Admin only.

Uuid (string) or null

Joins the group of this parent, or leaves the group with null. The caller must be admin of the parent too; a group has one level, so the parent has no parent and a parent joins no group.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": "string",
  • "address": {
    },
  • "timeZone": "string",
  • "currency": "EUR",
  • "settings": {
    },
  • "groupParentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "address": {
    },
  • "currency": "EUR",
  • "groupParentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "timeZone": "Europe/Berlin",
  • "logoUrl": "string",
  • "settings": {
    }
}

List the regions of a country

The ISO 3166-2 regions of a country with their names in the reader's language, sorted by name, from a maintained ISO 3166 dependency. An unknown country has none.

Authorizations:
bearerAuthsessionCookie
query Parameters
country
required
string^[A-Z]{2}$
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List the languages of the installation and which the active company offers

The installed languages whose catalogues are complete, English first, each by its own name, with its writing direction and whether the active company enables it. The page itself names its language, so no client asks for it on every page.

Authorizations:
bearerAuthsessionCookie
query Parameters
enabled
boolean

Only the languages the active company offers, which its users choose among.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

The days of a month the date picker marks for me

The public holidays that apply to the caller's employee, the closures of the company, the caller's own absences and the days without planned time (offDay) in a Gregorian month, as the installed packages provide them, with the text that names each in the caller's language. A colleague's absence is never part of it. Without a providing package the list is empty. The date picker reads one month for each month its grid touches.

Authorizations:
bearerAuthsessionCookie
query Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$
Examples: month=2026-12

The Gregorian month, YYYY-MM.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "month": "string",
  • "items": [
    ]
}

Create a further company

An admin of the active company creates a company and becomes its admin; hrUserId becomes its first HR. Both role assignments are audited and announced, the default employment types are created in English and German.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
required
string [ 1 .. 120 ] characters
required
object (Address)
timeZone
required
string

IANA time zone name.

currency
string (Currency) ^[A-Z]{3}$

By default the currency of the address's country, from its country package or the locale data of the country; refused with 422 where neither knows one.

hrUserId
required
string <uuid> (Uuid)

The user who becomes the first HR of the company, the caller or another user.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "address": {
    },
  • "timeZone": "string",
  • "currency": "EUR",
  • "hrUserId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "address": {
    },
  • "currency": "EUR",
  • "groupParentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "timeZone": "Europe/Berlin",
  • "logoUrl": "string",
  • "settings": {
    }
}

Archive the active company

Refused with 409 while the company has employees who have not left (activeEmployees names how many). An archived company keeps its data, is no longer offered among the reader's companies, is skipped by the scheduled jobs and answers every write with 409; its admins still read it with its Company-Id.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "address": {
    },
  • "currency": "EUR",
  • "groupParentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "timeZone": "Europe/Berlin",
  • "logoUrl": "string",
  • "settings": {
    }
}

Restore an archived company

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "address": {
    },
  • "currency": "EUR",
  • "groupParentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "timeZone": "Europe/Berlin",
  • "logoUrl": "string",
  • "settings": {
    }
}

Headcount of the companies of the group in which the reader is HR

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "companies": [
    ],
  • "omittedCompanies": 0
}

Copy the structure of another company of the group into the active company

Departments with their tree, job positions, job roles, employment types and locations. An entry whose name exists in the active company is skipped; a skipped department receives the copied sub-departments. The caller must hold hr in the source company too.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
sourceCompanyId
required
string <uuid> (Uuid)

Responses

Request samples

Content type
application/json
{
  • "sourceCompanyId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "departments": {
    },
  • "jobPositions": {
    },
  • "jobRoles": {
    },
  • "employmentTypes": {
    },
  • "locations": {
    }
}

Read what managers may do for their reports

Whether managers may record penalties for employees in their scope and publish announcements to their own reporting line. Both are off unless HR or an admin switches them on.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "managersRecordPenalties": true,
  • "managersPublishAnnouncements": true
}

Let managers record penalties or publish announcements

HR or an admin switches the two manager permissions; an absent property keeps its value. They only allow writes for employees in the scope managerScope defines and never widen what a manager reads. Every change is recorded in the change history of the company.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

managersRecordPenalties
boolean
managersPublishAnnouncements
boolean

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "managersRecordPenalties": true,
  • "managersPublishAnnouncements": true
}

Response samples

Content type
application/json
{
  • "managersRecordPenalties": true,
  • "managersPublishAnnouncements": true
}

Read which absence types colleagues see

Whether colleagues see the type of vacation, and of every absence, instead of "absent". Training and working absences always show their type. Both options are off unless HR or an admin switches them on.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "colleaguesSeeVacation": true,
  • "colleaguesSeeAllAbsenceTypes": true
}

Let colleagues see the type of absences

HR or an admin switches the two options; an absent property keeps its value. The second option needs the first and is answered with 422 otherwise; switching the first off switches the second off. The views of colleagues (calendar, feeds, planning) follow at once, pending requests stay hidden, and the people who see everything today keep doing so. Every change is recorded in the change history of the company.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
colleaguesSeeVacation
boolean

Switching it off switches colleaguesSeeAllAbsenceTypes off as well.

colleaguesSeeAllAbsenceTypes
boolean

Responses

Request samples

Content type
application/json
{
  • "colleaguesSeeVacation": true,
  • "colleaguesSeeAllAbsenceTypes": true
}

Response samples

Content type
application/json
{
  • "colleaguesSeeVacation": true,
  • "colleaguesSeeAllAbsenceTypes": true
}

List departments of the company

Sort by name (resolved name in the requester's language). Readable by every employee. Filters: q, archived, parentId, headEmployeeId.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

parentId
string <uuid> (Uuid)
Examples: parentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Direct children of this department.

headEmployeeId
string <uuid> (Uuid)
Examples: headEmployeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Departments headed by this employee.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a Department

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

Uuid (string) or null
Uuid (string) or null

A non-exited employee of the company.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "headEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "head": {
    },
  • "effectiveHead": {
    },
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "employeeCount": 0
}

Read one Department

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "head": {
    },
  • "effectiveHead": {
    },
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "employeeCount": 0
}

Change a Department

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

Uuid (string) or null
Uuid (string) or null

A non-exited employee of the company.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "headEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "head": {
    },
  • "effectiveHead": {
    },
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "employeeCount": 0
}

Delete a Department that was never referenced

409 when the entry was ever referenced; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a Department

409 while the entry is assigned to a non-exited employee or has non-archived child departments, naming them in dependents as getRecordDependents counts them. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "head": {
    },
  • "effectiveHead": {
    },
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "employeeCount": 0
}

Unarchive a Department

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "parentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "head": {
    },
  • "effectiveHead": {
    },
  • "archivedAt": "2026-10-01T08:15:00+02:00",
  • "employeeCount": 0
}

Read the department hierarchy as a tree

Non-archived departments with effective head and employee counts. Readable by every employee.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List jobpositions of the company

Sort by name (resolved name in the requester's language). Readable by every employee.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only the positions offered in this department, including those offered in every department.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a JobPosition

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

description
string or null <= 500 characters
departmentIds
Array of strings <uuid> (Uuid) [ items <uuid > ]

The departments the position is offered in; empty for every department. An archived department stays in an offer but cannot be added.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "description": "string",
  • "departmentIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "departmentIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one JobPosition

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "departmentIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change a JobPosition

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

description
string or null <= 500 characters
departmentIds
Array of strings <uuid> (Uuid) [ items <uuid > ]

The departments the position is offered in; empty for every department. An archived department stays in an offer but cannot be added.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "description": "string",
  • "departmentIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "departmentIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete a JobPosition that was never referenced

409 when the entry was ever referenced; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a JobPosition

409 while the entry is assigned to a non-exited employee or has non-archived child departments. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "departmentIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Unarchive a JobPosition

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "departmentIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

List the skills of the company

Sort by name (resolved name in the requester's language). Every employee reads the active skills; HR and administrators also the archived ones (archived), which others never see in this list.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Add a skill to the catalogue

Names are LocalisedText; at least one language is required. They are kept as entered after trimming, never re-cased, and unique per language among the non-archived skills of the company, compared case-insensitively (422 on name). The category is one of the skill categories (422 on category). HR and administrators.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
required
object non-empty

Name per language; at least one language. Kept as entered after trimming. Unique per language among non-archived skills of the company, case-insensitive after trimming.

description
string or null <= 500 characters
category
required
string (SkillCategory)
Enum: "technical" "language" "methodical" "social" "compliance" "other"

What kind of skill a catalogue entry is.

Responses

Request samples

Content type
application/json
{
  • "name": {
    },
  • "description": "string",
  • "category": "technical"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "category": "technical",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one skill

Archived skills stay readable, as profiles and history still show them.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "category": "technical",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change a skill

Only the sent properties change. Names are unique per language among the non-archived skills of the company (422 on name). A rename publishes OrganisationUnitChanged with renamed. HR and administrators.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object non-empty

Name per language; at least one language. Unique per language among non-archived skills of the company, case-insensitive after trimming.

description
string or null <= 500 characters
category
string (SkillCategory)
Enum: "technical" "language" "methodical" "social" "compliance" "other"

What kind of skill a catalogue entry is.

Responses

Request samples

Content type
application/json
{
  • "name": {
    },
  • "description": "string",
  • "category": "technical"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "category": "technical",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete a skill nothing references

409 when an installed package references the skill (an employee skill, a job position requirement, a course, a job opening); the problem names the referencing kinds with their counts in dependents, and nothing changes. Archive it instead. HR and administrators.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a skill

An archived skill stays where it is referenced and is not offered for new references. HR and administrators.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "category": "technical",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Restore an archived skill

422 when an active skill with the same name exists. HR and administrators.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "category": "technical",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

List jobroles of the company

Sort by name (resolved name in the requester's language). Readable by every employee.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

jobPositionId
string <uuid> (Uuid)
Examples: jobPositionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only the roles of this position, including those of every position.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a JobRole

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

description
string or null <= 500 characters
jobPositionIds
Array of strings <uuid> (Uuid) [ items <uuid > ]

The job positions the role belongs to; empty for every position. An archived position stays but cannot be added.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one JobRole

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change a JobRole

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

description
string or null <= 500 characters
jobPositionIds
Array of strings <uuid> (Uuid) [ items <uuid > ]

The job positions the role belongs to; empty for every position. An archived position stays but cannot be added.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete a JobRole that was never referenced

409 when the entry was ever referenced; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a JobRole

409 while the entry is assigned to a non-exited employee or has non-archived child departments. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Unarchive a JobRole

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "jobPositionIds": [
    ],
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

List employmenttypes of the company

Sort by name (resolved name in the requester's language). Readable by every employee.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

category
string (EmploymentTypeCategory)
Enum: "fullTime" "partTime" "workingStudent" "miniJob" "intern" "apprentice" "other"

Category other capabilities may base rules on.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a EmploymentType

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

category
required
string (EmploymentTypeCategory)
Enum: "fullTime" "partTime" "workingStudent" "miniJob" "intern" "apprentice" "other"

Category other capabilities may base rules on.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "category": "fullTime"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "category": "fullTime",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one EmploymentType

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "category": "fullTime",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change a EmploymentType

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

category
string (EmploymentTypeCategory)
Enum: "fullTime" "partTime" "workingStudent" "miniJob" "intern" "apprentice" "other"

Category other capabilities may base rules on.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "category": "fullTime"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "category": "fullTime",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete a EmploymentType that was never referenced

409 when the entry was ever referenced; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a EmploymentType

409 while the entry is assigned to a non-exited employee or has non-archived child departments. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "category": "fullTime",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Unarchive a EmploymentType

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "category": "fullTime",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

List locations of the company

Sort by name (resolved name in the requester's language). Readable by every employee.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a Location

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

required
object (Address)
timeZone
required
string

IANA time zone of the location; the days of the people working there are days in it.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto",
  • "legalRules": "installed",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one Location

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto",
  • "legalRules": "installed",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change a Location

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

object (Address)
timeZone
string

IANA time zone of the location; the days of the people working there are days in it.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto",
  • "legalRules": "installed",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete a Location that was never referenced

409 when the entry was ever referenced; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a Location

409 while the entry is assigned to a non-exited employee or has non-archived child departments. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto",
  • "legalRules": "installed",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Unarchive a Location

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "address": {
    },
  • "timeZone": "America/Toronto",
  • "legalRules": "installed",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Employees

Employee records, employment periods, reporting line, directory, import and export.

List the policies the caller may read

HR receives every policy with its audience and status; everyone else the published policies of their audience, decided today from their employment.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Draft a policy (HR)

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

At most 200 characters per language.

required
object non-empty

Rich text of at most 100000 characters per language, with the formatting of HR notes.

required
object (PolicyAudience)

Everyone (all) or the employees, departments (with their sub-departments when asked), positions and locations named; decided on every read from the employment valid today.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "title": {
    },
  • "body": {
    },
  • "audience": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "body": "string",
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ],
  • "titles": {
    },
  • "bodies": {
    },
  • "status": "draft",
  • "audience": {
    }
}

Read a policy

404 for a reader outside the audience or a policy that is not published.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "body": "string",
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ],
  • "titles": {
    },
  • "bodies": {
    },
  • "status": "draft",
  • "audience": {
    }
}

Change a policy (HR)

Only the sent properties change. A published policy tells its audience again with notifyAudience: true; without, the change is only recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

object (PolicyAudience)

Everyone (all) or the employees, departments (with their sub-departments when asked), positions and locations named; decided on every read from the employment valid today.

notifyAudience
boolean

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "title": {
    },
  • "body": {
    },
  • "audience": {
    },
  • "notifyAudience": true
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "body": "string",
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ],
  • "titles": {
    },
  • "bodies": {
    },
  • "status": "draft",
  • "audience": {
    }
}

Delete a draft policy (HR)

A policy that was published answers 409 with the suggestion archivePolicy.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Publish a policy (HR)

Every employee of the audience at that moment is told, in their language.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "body": "string",
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ],
  • "titles": {
    },
  • "bodies": {
    },
  • "status": "draft",
  • "audience": {
    }
}

Archive a policy (HR)

An archived policy is no longer shown to employees.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "body": "string",
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ],
  • "titles": {
    },
  • "bodies": {
    },
  • "status": "draft",
  • "audience": {
    }
}

Attach a file to a policy (HR)

PDF, PNG, JPEG or WebP of at most 20 MB, judged by its content, never SVG; at most 20 files per policy.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
file
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "fileName": "string",
  • "mediaType": "string",
  • "sizeBytes": 0
}

Download a file of a policy

For the readers of the policy.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
fileId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Remove a file of a policy (HR)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
fileId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the penalties of the company (HR)

Every employee's penalties, active and withdrawn, the latest first.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List an employee's penalties

Active and withdrawn, the latest first, with the records they are for. Colleagues get 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Record a penalty (HR, manager)

An amount, a leave deduction or both, each only of a kind the company enabled (422). A leave deduction is checked by the leave package and never rounded (422 with its reason on leaveDeduction). A manager records only while the company access setting managersRecordPenalties is on (403 otherwise); nobody records a penalty for themselves (403). PenaltyRecorded is published once and the employee told through employee.penaltyRecorded.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
date
required
string <date> (Date)
reason
required
string [ 1 .. 500 ] characters
amount
integer >= 1

Minor units of the company currency; needs the penalty kind amount.

object (PenaltyLeaveDeduction)

Responses

Request samples

Content type
application/json
{
  • "date": "2026-10-01",
  • "reason": "string",
  • "amount": 1,
  • "leaveDeduction": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "reason": "string",
  • "amount": {
    },
  • "leaveDeduction": {
    },
  • "sources": [
    ],
  • "origin": "user",
  • "recordedBy": {
    },
  • "recordedAt": "2019-08-24T14:15:22Z",
  • "withdrawal": {
    }
}

Withdraw a penalty (HR, manager)

The penalty stays in the account as withdrawn, with who withdrew it, when and why; the records it was for are free again. HR withdraws any penalty; a manager only one they recorded, while managersRecordPenalties is on (403). What a package or the migration recorded only HR withdraws. PenaltyWithdrawn is published once and the employee told through employee.penaltyWithdrawn; a second withdrawal is 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
penaltyId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
reason
required
string [ 1 .. 500 ] characters

Responses

Request samples

Content type
application/json
{
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "reason": "string",
  • "amount": {
    },
  • "leaveDeduction": {
    },
  • "sources": [
    ],
  • "origin": "user",
  • "recordedBy": {
    },
  • "recordedAt": "2019-08-24T14:15:22Z",
  • "withdrawal": {
    }
}

Read an employee's bonus points

The balance, the sum of the entries, and the points still available. 404 in a company without bonus points and for readers who do not read the employee's work data.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "balance": 0,
  • "available": 0
}

List an employee's bonus point entries

The append-only ledger, the newest first; reasons of packages in the reader's language.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Award bonus points or book an adjustment (HR, manager)

An award adds 1 to 100000 points; an adjustment adds or takes them, but never leaves fewer than none available (422 on points). Nobody books on their own account (403). The employee is told through employee.bonusPointsChanged.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
kind
required
string
Enum: "award" "adjustment"
points
required
integer [ -100000 .. 100000 ]

Not 0; an award is positive.

reason
required
string [ 1 .. 255 ] characters

Responses

Request samples

Content type
application/json
{
  • "kind": "award",
  • "points": -100000,
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "kind": "award",
  • "points": 0,
  • "reason": "string",
  • "origin": "user",
  • "source": "string",
  • "reference": "string",
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List an employee's redemptions of bonus points

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Redeem one's own bonus points

At least bonusRedemptionMinimumPoints, at most the available points (422 on points). The points are reserved at once; the amount is the points times the company's bonusPointValue now and is not changed by the decision. The approval type is bonusPointRedemption (HR decides without a rule). 409 while a point is worth nothing; 403 for anyone but the employee.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
points
required
integer >= 1

Responses

Request samples

Content type
application/json
{
  • "points": 1
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "points": 0,
  • "amount": 0,
  • "currency": "string",
  • "status": "pending",
  • "approvalId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "requestedAt": "2026-10-01T08:15:00+02:00",
  • "decidedAt": "2026-10-01T08:15:00+02:00"
}

Read the mails HR sent to an employee

The newest first, with the delivery state; 404 for anyone but HR and the employee.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List disciplinary actions

Every action of the company (HR only), or the actions of the employee given in employeeId the caller reads; the latest period first. A manager in scope gets type and period without description and letter, and no warning after its expiresOn.

Authorizations:
bearerAuthsessionCookie
query Parameters
employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Record a disciplinary action for one or several employees (HR)

Creates one separate action per employee, so no action names other recipients. Each employee is told through employee.disciplinaryActionRecorded.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

employeeIds
required
Array of strings <uuid> (Uuid) [ 1 .. 100 ] items [ items <uuid > ]
typeId
required
string <uuid> (Uuid)
description
required
string [ 1 .. 2000 ] characters
startDate
string <date> (Date)
days
integer [ 1 .. 365 ]
startAt
string^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}...

Local date and time in the company's time zone.

durationSeconds
integer [ 900 .. 86400 ]
expiresOn
string <date> (Date)
exitDate
string <date>

Only for a dismissal; schedules the exit with the reason dismissal. Without it, the employee's exit must already be scheduled.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeIds": [
    ],
  • "typeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "description": "string",
  • "startDate": "2026-10-01",
  • "days": 1,
  • "startAt": "2026-10-05T08:00",
  • "durationSeconds": 900,
  • "expiresOn": "2026-10-01",
  • "exitDate": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read a disciplinary action

404 for a reader who does not read the action, such as a colleague, or a manager after a warning expired.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": {
    },
  • "description": "string",
  • "attachment": {
    },
  • "startDate": "2026-10-01",
  • "days": 1,
  • "endDate": "2026-10-01",
  • "startAt": "string",
  • "durationSeconds": 900,
  • "endAt": "string",
  • "period": {
    },
  • "expiresOn": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "withdrawnAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Change a disciplinary action (HR)

Only the sent properties change; a period is sent as a whole. A withdrawn action answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

description
string [ 1 .. 2000 ] characters
startDate
string <date> (Date)
days
integer [ 1 .. 365 ]
startAt
string^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}...
durationSeconds
integer [ 900 .. 86400 ]
Date (string) or null

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "description": "string",
  • "startDate": "2026-10-01",
  • "days": 1,
  • "startAt": "string",
  • "durationSeconds": 900,
  • "expiresOn": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": {
    },
  • "description": "string",
  • "attachment": {
    },
  • "startDate": "2026-10-01",
  • "days": 1,
  • "endDate": "2026-10-01",
  • "startAt": "string",
  • "durationSeconds": 900,
  • "endAt": "string",
  • "period": {
    },
  • "expiresOn": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "withdrawnAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Withdraw a disciplinary action (HR)

Ends the action's effects at once; it stays in the history. A second withdrawal answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": {
    },
  • "description": "string",
  • "attachment": {
    },
  • "startDate": "2026-10-01",
  • "days": 1,
  • "endDate": "2026-10-01",
  • "startAt": "string",
  • "durationSeconds": 900,
  • "endAt": "string",
  • "period": {
    },
  • "expiresOn": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "withdrawnAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Attach the letter of a disciplinary action (HR)

A PDF, PNG, JPEG or WebP of at most 10 MB, judged by its content, never SVG; replaces the letter before.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
file
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": {
    },
  • "description": "string",
  • "attachment": {
    },
  • "startDate": "2026-10-01",
  • "days": 1,
  • "endDate": "2026-10-01",
  • "startAt": "string",
  • "durationSeconds": 900,
  • "endAt": "string",
  • "period": {
    },
  • "expiresOn": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "withdrawnAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Download the letter of a disciplinary action

The letter is personal data, for HR and the employee.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the disciplinary action types of the company (HR)

Sort by name (resolved name in the requester's language). HR only.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a disciplinary action type

Names are LocalisedText; at least one language is required. Only a suspension or a dismissal may block the sign-in, else 422 on blocksSignIn. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

kind
required
string (DisciplinaryKind)
Enum: "warning" "suspension" "dismissal"
blocksSignIn
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "kind": "warning",
  • "blocksSignIn": false
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "kind": "warning",
  • "blocksSignIn": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one disciplinary action type

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "kind": "warning",
  • "blocksSignIn": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change a disciplinary action type

Names are LocalisedText; at least one language is required. A warning type never blocks the sign-in, else 422 on blocksSignIn. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

blocksSignIn
boolean

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "blocksSignIn": true
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "kind": "warning",
  • "blocksSignIn": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete a disciplinary action type that was never used

409 when an action ever used the type; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a disciplinary action type

An archived type stays on its actions and is not offered for new ones. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "kind": "warning",
  • "blocksSignIn": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Unarchive a disciplinary action type

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "kind": "warning",
  • "blocksSignIn": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

List the employee tags of the company (HR)

Sort by name (resolved name in the requester's language). HR-internal, HR only.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Archived entries: exclude (default), include or only.

q
string [ 1 .. 120 ] characters

Case-insensitive substring of the name in any language; wildcard characters match literally.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create an employee tag

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

color
required
string^#[0-9A-Fa-f]{6}$

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "color": "#D97706"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "color": "#D97706",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one employee tag

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "color": "#D97706",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Change an employee tag

Names are LocalisedText; at least one language is required. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object non-empty

Name per language; at least one language. Unique per language among non-archived entries of the company, case-insensitive after trimming.

color
string^#[0-9A-Fa-f]{6}$

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "name": {
    },
  • "color": "#D97706"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "color": "#D97706",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Delete an employee tag that was never referenced

409 when the entry was ever referenced; archive it instead. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive an employee tag

An archived tag stays on the employees that carry it and cannot be assigned any more. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "color": "#D97706",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Unarchive an employee tag

422 when an active entry with the same name exists. HR only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "color": "#D97706",
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

List employees the caller may see

Scope self|team|company (default self): self returns the caller's own summary, team the reports in manager scope (directory and work data), company every employee for HR and directory properties only for an admin without HR; any other caller receives 403 for company. Rows never contain personal or hrInternal data. Filters: q (first, last and second name, work e-mail, personnel number), status (pending and active unless given), departmentId, jobPositionId, jobRoleId, employmentTypeId, locationId, managerId, tag and gender (HR only), entryDateFrom/To, exitDateFrom/To, probationEndDateFrom/To, contractEndDateFrom/To, scope. A filter on data the caller may not read yields 400. Sort by lastName, firstName, personnelNumber, entryDate or exitDate. Facets: status, departmentId, jobPositionId, jobRoleId, employmentTypeId, locationId (work-data facets are not counted for readers without work data). Groups (groupBy): status (readers of work data only), departmentId, jobPositionId, locationId. Custom fields of type singleChoice, multipleChoice, boolean, date and integer filter as cf:<key> (an option key, true or false, YYYY-MM-DD, a whole number) and count as facets of the same name; cfMissing=<key> lists the employees without a value, such as those a field made required later. A custom field of a category the caller does not read in the rows (HR reads all) yields 400. Rows carry the directory and work-data custom fields. Any other filter or sort property yields 400.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

q
string [ 1 .. 100 ] characters

Name, work e-mail and, where the caller may read it, personnel number; wildcards match literally.

status
string (EmployeeStatus)
Enum: "pending" "active" "exited"

Employment status as of today. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Department of the employment period valid today.

jobPositionId
string <uuid> (Uuid)
Examples: jobPositionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Job position of the period valid today.

jobRoleId
string <uuid> (Uuid)
Examples: jobRoleId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Job role of the period valid today. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

employmentTypeId
string <uuid> (Uuid)
Examples: employmentTypeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Employment type of the period valid today. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

locationId
string <uuid> (Uuid)
Examples: locationId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Location of the period valid today.

managerId
string <uuid> (Uuid)
Examples: managerId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Employees whose manager today is this employee. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

tag
string <= 40 characters

A tag's ID or its name in any language. HR only (tags are hrInternal); other callers receive 400.

entryDateFrom
string <date> (Date)
Examples: entryDateFrom=2026-10-01

Entry date on or after. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

entryDateTo
string <date> (Date)
Examples: entryDateTo=2026-10-01

Entry date on or before. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

exitDateFrom
string <date> (Date)
Examples: exitDateFrom=2026-10-01

Exit date on or after. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

exitDateTo
string <date> (Date)
Examples: exitDateTo=2026-10-01

Exit date on or before. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

probationEndDateFrom
string <date> (Date)
Examples: probationEndDateFrom=2026-10-01

Probation ending on or after this day. Work data.

probationEndDateTo
string <date> (Date)
Examples: probationEndDateTo=2026-10-01

Probation ending on or before this day. Work data.

contractEndDateFrom
string <date> (Date)
Examples: contractEndDateFrom=2026-10-01

Fixed-term contracts ending on or after this day. Work data.

contractEndDateTo
string <date> (Date)
Examples: contractEndDateTo=2026-10-01

Fixed-term contracts ending on or before this day. Work data.

gender
string (Gender)
Enum: "female" "male" "diverse"

HR only, as gender is personal data; anyone else receives 400.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

Which employees to return. self: the caller only. team: the caller's reports (direct or indirect per company setting managerScope), workData and directory properties. company: every employee, HR only (an admin without HR receives directory properties only, any other caller 403).

cfMissing
string

The key of a custom field; lists the employees without a value in it.

facets
string
Examples: facets=departmentId,locationId

Comma-separated filters to count rows per value for (see meta.facets); the operation lists which.

groupBy
string

A grouping key of the list (see meta.groups); the operation names its keys, any other answers 400.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create an employee (HR)

Publishes EmployeeHired. 422 for rule violations such as a duplicate work e-mail or personnel number.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object (CustomFieldValuesInput)

Values by field key; null empties a field. A file is sent as an object with fileName, mediaType and the base64 content (PDF, image or office document, at most 10 MB). Unknown or archived keys, values that do not fit the type and empty required fields are violations on customFields.<key>. In self-service only self-service fields are accepted.

personnelNumber
string <= 30 characters

Optional on create (generated from the company prefix when omitted).

firstName
required
string [ 1 .. 80 ] characters
lastName
required
string [ 1 .. 80 ] characters
workEmail
required
string <email>

Unique across all companies, case-insensitive.

entryDate
required
string <date> (Date)
Date (string) or null
Date (string) or null

End of a fixed-term contract. Informational: it does not end the employment; leaving is scheduleEmployeeExit.

required
object (EmploymentInput)

Employment data of a new period. weeklyContractSeconds is required: there is no employment without contractual hours.

Uuid (string) or null
workPhone
string or null <= 40 characters
privatePhone
string or null <= 40 characters
privateEmail
string or null <email>
alternativeName
string or null <= 200 characters

The name in a second script, such as Arabic or Cyrillic; found by the directory search.

qualification
string or null <= 200 characters
priorExperienceMonths
integer or null [ 0 .. 720 ]

Work experience before joining, in months.

MaritalStatus (string) or null
numberOfChildren
integer or null [ 0 .. 20 ]
Gender (string) or null
Date (string) or null
Address (object) or null
Array of objects (EmergencyContact) <= 5 items
BankDetails (object) or null
tagIds
Array of strings <uuid> (Uuid) <= 20 items [ items <uuid > ]

The tags the employee carries afterwards; a newly assigned tag must be active.

notes
string or null <= 5000 characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "customFields": { },
  • "personnelNumber": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "employment": {
    },
  • "reportingManagerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workPhone": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "tagIds": [
    ],
  • "notes": "string"
}

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Count employees at a date, grouped by an allow-listed attribute (HR)

Counts only; contains no personal data. HR only.

Authorizations:
bearerAuthsessionCookie
query Parameters
asOf
string <date> (Date)
Examples: asOf=2026-10-01

Evaluate effective-dated data on this date. Defaults to today in the company time zone.

groupBy
required
string (HeadcountGroupBy)
Enum: "department" "jobPosition" "employmentType" "location" "status"

One of department, jobPosition, employmentType, location, status.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "asOf": "2026-10-01",
  • "groupBy": "department",
  • "total": 0,
  • "groups": [
    ]
}

Export employees as CSV or XLSX

Same filters and scope (self|team|company) as listEmployees. Columns are limited to the categories the caller may read: directory and workData columns for managers in scope, birthDate, gender, tags and exitReason for HR only, directory columns for an admin without HR. Each export is recorded in the change history; exports containing personal or hrInternal columns are also written to the access log. CSV/XLSX headers and number formats follow the requester's language (de: ';' and decimal comma, en: ',' and decimal point; UTF-8 with BOM).

Authorizations:
bearerAuthsessionCookie
query Parameters
format
required
string
Enum: "csv" "xlsx"

File format.

required
Array of ExportColumn (string) or strings non-empty

Comma-separated allow-listed columns, in output order, and cf:<key> for an active custom field of employees, headed by its label and filled in the caller's language, classified by its data category. Unknown column yields 400, a column the caller may not export 403.

sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

q
string [ 1 .. 100 ] characters

Name, work e-mail and, where the caller may read it, personnel number; wildcards match literally.

status
string (EmployeeStatus)
Enum: "pending" "active" "exited"

Employment status as of today. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Department of the employment period valid today.

jobPositionId
string <uuid> (Uuid)
Examples: jobPositionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Job position of the period valid today.

jobRoleId
string <uuid> (Uuid)
Examples: jobRoleId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Job role of the period valid today. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

employmentTypeId
string <uuid> (Uuid)
Examples: employmentTypeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Employment type of the period valid today. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

locationId
string <uuid> (Uuid)
Examples: locationId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Location of the period valid today.

managerId
string <uuid> (Uuid)
Examples: managerId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Employees whose manager today is this employee. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

tag
string <= 40 characters

A tag's ID or its name in any language. HR only (tags are hrInternal); other callers receive 400.

entryDateFrom
string <date> (Date)
Examples: entryDateFrom=2026-10-01

Entry date on or after. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

entryDateTo
string <date> (Date)
Examples: entryDateTo=2026-10-01

Entry date on or before. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

exitDateFrom
string <date> (Date)
Examples: exitDateFrom=2026-10-01

Exit date on or after. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

exitDateTo
string <date> (Date)
Examples: exitDateTo=2026-10-01

Exit date on or before. Work-data filter: callers who may read only directory data (admin without HR) receive 400.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

Which employees to return. self: the caller only. team: the caller's reports (direct or indirect per company setting managerScope), workData and directory properties. company: every employee, HR only (an admin without HR receives directory properties only, any other caller 403).

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Read one employee, limited to the data categories the caller may read

Properties are filtered by the data category of the caller: the person (directory, workData, personal), a manager in scope (directory, workData), HR (everything), an admin without HR (directory only). Colleagues receive 404. Reading personal or hrInternal properties of another person is recorded in the access log.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
asOf
string <date> (Date)
Examples: asOf=2026-10-01

Evaluate effective-dated data on this date. Defaults to today in the company time zone.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Change personal data of an employee (HR)

HR. Publishes EmployeeUpdated with changedFields (and effectiveFrom where the change is effective-dated). A request changing no value creates no event or history. shareBirthday cannot be set here.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (CustomFieldValuesInput)

Values by field key; null empties a field. A file is sent as an object with fileName, mediaType and the base64 content (PDF, image or office document, at most 10 MB). Unknown or archived keys, values that do not fit the type and empty required fields are violations on customFields.<key>. In self-service only self-service fields are accepted.

personnelNumber
string <= 30 characters

Optional on create (generated from the company prefix when omitted).

firstName
string [ 1 .. 80 ] characters
lastName
string [ 1 .. 80 ] characters
workEmail
string <email>

Unique across all companies, case-insensitive.

entryDate
string <date> (Date)
Date (string) or null
Date (string) or null

End of a fixed-term contract. Informational: it does not end the employment; leaving is scheduleEmployeeExit.

workPhone
string or null <= 40 characters
privatePhone
string or null <= 40 characters
privateEmail
string or null <email>
alternativeName
string or null <= 200 characters

The name in a second script, such as Arabic or Cyrillic; found by the directory search.

qualification
string or null <= 200 characters
priorExperienceMonths
integer or null [ 0 .. 720 ]

Work experience before joining, in months.

MaritalStatus (string) or null
numberOfChildren
integer or null [ 0 .. 20 ]
Gender (string) or null
Date (string) or null
Address (object) or null
Array of objects (EmergencyContact) <= 5 items
BankDetails (object) or null
tagIds
Array of strings <uuid> (Uuid) <= 20 items [ items <uuid > ]

The tags the employee carries afterwards; a newly assigned tag must be active.

notes
string or null <= 5000 characters
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

Responses

Request samples

Content type
application/json
{
  • "customFields": { },
  • "personnelNumber": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "workPhone": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "tagIds": [
    ],
  • "notes": "string",
  • "changeReason": {
    }
}

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Delete an employee created by mistake (HR)

Only while no installed module refers to the person and before the exit; otherwise 409 with references (kind and count each) and the suggestion scheduleEmployeeExit. The record goes with its employment periods, reporting lines and open invitations; the linked account is unlinked and disabled unless it holds a role or another employment, never deleted. The personnel number is not reused.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the employment periods of an employee

Visible to the employee, managers in scope and HR. Ordered by validFrom.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Add an effective-dated employment period (HR)

HR. weeklyContractSeconds is required. Publishes EmployeeUpdated with changedFields and effectiveFrom = the period start.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
validFrom
string <date> (Date)
departmentId
required
string <uuid> (Uuid)
jobPositionId
required
string <uuid> (Uuid)
Uuid (string) or null
employmentTypeId
required
string <uuid> (Uuid)
locationId
required
string <uuid> (Uuid)
weeklyContractSeconds
required
integer [ 1 .. 216000 ]
CompensationInput (object) or null

A raise is a new period from its day.

object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

Responses

Request samples

Content type
application/json
{
  • "validFrom": "2026-10-01",
  • "departmentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "jobPositionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "jobRoleId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employmentTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "locationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "weeklyContractSeconds": 1,
  • "compensation": {
    },
  • "changeReason": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "validFrom": "2026-10-01",
  • "validTo": "2026-10-01",
  • "department": {
    },
  • "jobPosition": {
    },
  • "jobRole": {
    },
  • "employmentType": {
    },
  • "location": {
    },
  • "weeklyContractSeconds": 144000,
  • "fteShare": 0.5,
  • "compensation": {
    }
}

Say that an employee had contract hours in a period, also in the past (HR)

Corrects the history: the employee had these weekly contract hours in the inclusive period. Periods under it are shortened, split around it or, when it covers them, replaced; the other data of the new period is copied from the period it starts in. A reason (changeReason.comment) is required. A correction that changes days before today is refused with employment-correction-reaches-the-past, naming the earliest day and the number of days, until the request repeats it with applyFrom, no later than that day; one that changes days in a closed payroll month is refused with employment-correction-reaches-closed-period until the request carries includeProtectedPeriods. The days from the earliest changed day on are recalculated through EmployeeUpdated.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
weeklyContractSeconds
required
integer [ 1 .. 216000 ]
validFrom
required
string <date> (Date)
Date (string) or null

Inclusive end; null means open-ended.

employmentTypeId
string <uuid> (Uuid)

The new employment type of the corrected period, an active type of the company; omitted, the period keeps its type.

required
object (ChangeReasonInput)

Why the history is corrected; comment is required.

applyFrom
string <date> (Date)

The confirmation of a correction that changes past days; no later than the earliest changed day.

includeProtectedPeriods
boolean
Default: false

The explicit confirmation of a correction that changes days in a closed payroll month; recorded in the change history.

Responses

Request samples

Content type
application/json
{
  • "weeklyContractSeconds": 1,
  • "validFrom": "2026-10-01",
  • "validTo": "2026-10-01",
  • "employmentTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "changeReason": {
    },
  • "applyFrom": "2026-10-01",
  • "includeProtectedPeriods": false
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "recalculation": {
    },
  • "includedProtectedPeriods": true
}

Read one employment period of an employee

Visible to the employee, managers in scope and HR, as the list of the periods is.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
employmentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "validFrom": "2026-10-01",
  • "validTo": "2026-10-01",
  • "department": {
    },
  • "jobPosition": {
    },
  • "jobRole": {
    },
  • "employmentType": {
    },
  • "location": {
    },
  • "weeklyContractSeconds": 144000,
  • "fteShare": 0.5,
  • "compensation": {
    }
}

Remove a future employment period (HR)

HR. Removes a period that has not started yet; publishes EmployeeUpdated with effectiveFrom = the removed period start. 409 for a started period.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
employmentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Correct the hours, start, end or employment type of an employment period, started or not (HR)

The period gets the weekly contract hours, start and end of the body and, when the body names one, its employment type (an active type of the company, else 422 at employmentTypeId); its other data stays. A period that adjoined it follows, so no day is left without one; what the period now reaches over is shortened or replaced. A reason (changeReason.comment) is required. A correction that changes days before today is refused with employment-correction-reaches-the-past, naming the earliest day and the number of days, until the request repeats it with applyFrom, no later than that day; one that changes days in a closed payroll month is refused with employment-correction-reaches-closed-period until the request carries includeProtectedPeriods. The days from the earliest changed day on are recalculated through EmployeeUpdated.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
employmentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
weeklyContractSeconds
required
integer [ 1 .. 216000 ]
validFrom
required
string <date> (Date)
Date (string) or null

Inclusive end; null means open-ended.

employmentTypeId
string <uuid> (Uuid)

The new employment type of the corrected period, an active type of the company; omitted, the period keeps its type.

required
object (ChangeReasonInput)

Why the history is corrected; comment is required.

applyFrom
string <date> (Date)

The confirmation of a correction that changes past days; no later than the earliest changed day.

includeProtectedPeriods
boolean
Default: false

The explicit confirmation of a correction that changes days in a closed payroll month; recorded in the change history.

Responses

Request samples

Content type
application/json
{
  • "weeklyContractSeconds": 1,
  • "validFrom": "2026-10-01",
  • "validTo": "2026-10-01",
  • "employmentTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "changeReason": {
    },
  • "applyFrom": "2026-10-01",
  • "includeProtectedPeriods": false
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "recalculation": {
    },
  • "includedProtectedPeriods": true
}

Schedule or change the exit of an employee (HR)

Publishes EmployeeExitScheduled. The employee becomes exited at 00:00 company time of the day after the exit date; at that moment the exit job publishes EmployeeExited (Identity deactivates the account by consuming it). The exit reason is HR-internal.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

exitDate
required
string <date> (Date)

Last day of employment.

reason
required
string (ExitReason)
Enum: "resignation" "dismissal" "endOfContract" "mutualAgreement" "retirement" "death" "companyTransfer" "other"

HR-internal: visible to HR only. companyTransfer is set only by transferEmployee.

comment
string or null <= 2000 characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "exitDate": "2026-10-01",
  • "reason": "resignation",
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Cancel a scheduled exit (HR)

Cancels a scheduled exit (HR). 409 when the exit date has passed, no exit is scheduled or a dismissal is bound to the exit. Publishes EmployeeExitScheduled with no exit date.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Change the same fields of up to 500 employees (HR)

Department, position, role, employment type and location start a new employment period from effectiveFrom (default today), the manager a new reporting period. Each employee is checked like a single change; when one fails, nothing is written and the violations carry their employeeId. Any other field in changes is answered with 400.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

employeeIds
required
Array of strings <uuid> [ 1 .. 500 ] items unique [ items <uuid > ]
effectiveFrom
string <date> (Date)
required
object non-empty

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeIds": [
    ],
  • "effectiveFrom": "2026-10-01",
  • "changes": {
    }
}

Response samples

Content type
application/json
{
  • "employeeIds": [
    ]
}

Invite up to 500 employees to their accounts (HR)

Each employee is invited like with sendEmployeeInvitation; one who already set a password or has left is skipped and reported.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> [ 1 .. 500 ] items unique [ items <uuid > ]
locale
string
Enum: "en" "de"

Responses

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "locale": "en"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Schedule the same exit for up to 500 employees (HR)

Each employee is checked like a single exit; when one fails, no exit is scheduled and the violations carry their employeeId.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

employeeIds
required
Array of strings <uuid> [ 1 .. 500 ] items unique [ items <uuid > ]
exitDate
required
string <date> (Date)
reason
required
string (ExitReason)
Enum: "resignation" "dismissal" "endOfContract" "mutualAgreement" "retirement" "death" "companyTransfer" "other"

HR-internal: visible to HR only. companyTransfer is set only by transferEmployee.

comment
string <= 2000 characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeIds": [
    ],
  • "exitDate": "2026-10-01",
  • "reason": "resignation",
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Transfer an employee to another company (HR of both companies)

The record exits on the day before effectiveFrom with the reason companyTransfer; a new record of the target company starts on effectiveFrom with a personnel number of that company, the work e-mail, the person's own data and the same account. The caller needs hr in the target company too, or the answer is 403. Every other write stays in the company of the record.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

targetCompanyId
required
string <uuid>
effectiveFrom
required
string <date> (Date)
required
object (EmploymentInput)

Employment data of a new period. weeklyContractSeconds is required: there is no employment without contractual hours.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "targetCompanyId": "c33314fe-c073-40a3-b252-ec1fcc7c7717",
  • "effectiveFrom": "2026-10-01",
  • "employment": {
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "status": "pending"
}

List the profile sections the caller may read

The sections of the core and the installed packages whose data the caller may read for this employee, in their order; a colleague without further access gets none and sees the directory entry only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

What a new employee still needs (HR)

The items of the core (account invitation, reporting manager, bank details, emergency contact) and of the installed packages, each done or open with the page where it is completed; computed on every read.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List the HR notes about an employee (HR)

HR-internal; the newest first, with their files.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Write an HR note about an employee (HR)

A text of at most 20000 characters is refused with 422, naming the limit.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

text
required
string <= 20000 characters

Rich text; paragraphs, line breaks, bold, italic, lists and links are kept, everything else is removed on save.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "text": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "text": "string",
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ]
}

Rewrite an HR note (HR)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
noteId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

text
required
string <= 20000 characters

Rich text; paragraphs, line breaks, bold, italic, lists and links are kept, everything else is removed on save.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "text": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "text": "string",
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ]
}

Delete an HR note with its files (HR)

The change history keeps who deleted the note and when, never its text.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
noteId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Attach a file to an HR note (HR)

PDF, an image other than SVG, or an office document of at most 10 MB, judged by its content; at most 10 files per note.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
noteId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
file
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "fileName": "string",
  • "mediaType": "string",
  • "sizeBytes": 0
}

Download a file of an HR note (HR)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
noteId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
fileId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Remove a file of an HR note (HR)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
noteId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
fileId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Rehire an exited employee into the same record

Keeps the personnel number, work e-mail and history; the ended employment stays in the history and the new one starts from entryDate, after the previous exit, with its first employment period. The account stays disabled until HR sends an invitation, whose link sets a new password. 409 for an employee who has not left.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

entryDate
required
string <date> (Date)
required
object (EmploymentInput)

Employment data of a new period. weeklyContractSeconds is required: there is no employment without contractual hours.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "entryDate": "2026-10-01",
  • "employment": {
    }
}

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

List what an employee is responsible for, per kind (HR)

The kinds of the core (reportingManager, departmentHead, approvalRuleStep, approvalSubstitute) and of the installed packages, such as projectManager; kinds without any responsibility are left out.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
asOf
string <date> (Date)
Examples: asOf=2026-10-01

Evaluate effective-dated data on this date. Defaults to today in the company time zone.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Hand an employee's responsibilities over to a successor (HR)

Every responsibility of the chosen kinds goes to the successor, a different employee of the company who has not left by effectiveFrom, all or nothing. Reports get the successor as manager by a new reporting period from effectiveFrom; the successor's own line stays and is listed in skipped. Department heads and approval rule steps have no dated history and change at once. The predecessor, the successor and every employee with a new manager are notified.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
successorId
required
string <uuid>
effectiveFrom
required
string <date> (Date)
kinds
required
Array of strings non-empty

Responses

Request samples

Content type
application/json
{
  • "successorId": "7accea73-3567-4576-aa65-b9445aadbd00",
  • "effectiveFrom": "2026-10-01",
  • "kinds": [
    ]
}

Response samples

Content type
application/json
{
  • "handedOver": [
    ],
  • "skipped": [
    ]
}

Create the user account and invite the employee (HR)

HR. Requests the account invitation (event EmployeeAccountInvitationRequested, consumed by Identity); the response is 202 and the account state is invitationRequested until Identity has created the account. The invitation mail is sent in the given language (default en) with a set-password link valid 7 days, or the SSO sign-in hint where SSO is enforced for the e-mail domain. Sending again while the account is invited issues a new link and voids the old one. 409 for exited employees or when the password is already set.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
locale
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$

Language of the invitation mail; default en. Replaced by the saved language at first login.

loginEmail
string <email> <= 180 characters

The e-mail the person already logs in with, where it differs from the work e-mail. An account with a password that logs in with it, or else with the work e-mail, joins the company as the setting existingAccountLinking says; without one, a new account is invited with this e-mail.

Responses

Request samples

Content type
application/json
{
  • "locale": "en",
  • "loginEmail": "user@example.com"
}

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Read the photo of a visible employee

Photos of active directory entries are readable by every employee; the person, managers in scope and HR also see photos of pending employees.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Set or replace a photo (HR, or the employee when photo is a self-service field)

JPEG, PNG or WebP, at most 5 MB and 4096 pixels per side. The content is verified, not only the declared type. The employee may set their own photo only when photo is in the company's self-service fields. Last write wins; no If-Match.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema:
required
string <binary>

Responses

Response samples

Content type
application/json
{}

Remove a photo

Removes the photo (HR, or the employee for their own record when photo is a self-service field).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the reporting-line history of an employee

Visible to the employee, managers in scope and HR.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Assign, replace or end the reporting manager from a date (HR)

HR. 422 for self-management, a manager of another company, an exited manager, a start date outside the employment, or a cycle at any date of the new period. Publishes ReportingLineChanged.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
Uuid (string) or null

Null ends the manager assignment.

validFrom
required
string <date> (Date)

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "managerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "validFrom": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "manager": {
    },
  • "validFrom": "2026-10-01",
  • "validTo": "2026-10-01"
}

Remove a reporting-line change that has not started (HR)

409 when the period has already started.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
lineId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Read everyone below a manager in the reporting line

Up to 10 levels below the caller, or below rootEmployeeId for HR; anyone else naming another root gets 403. Exited and pending employees are omitted; an employee without reports gets an empty list.

Authorizations:
bearerAuthsessionCookie
query Parameters
asOf
string <date> (Date)
Examples: asOf=2026-10-01

Evaluate effective-dated data on this date. Defaults to today in the company time zone.

rootEmployeeId
string <uuid> (Uuid)
Examples: rootEmployeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

The manager whose tree HR reads; default is the caller.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "asOf": "2026-10-01",
  • "items": [
    ]
}

Read the reporting tree

Readable by every employee; nodes carry directory data only. Exited and pending employees are omitted.

Authorizations:
bearerAuthsessionCookie
query Parameters
asOf
string <date> (Date)
Examples: asOf=2026-10-01

Evaluate effective-dated data on this date. Defaults to today in the company time zone.

rootEmployeeId
string <uuid> (Uuid)
Examples: rootEmployeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Start at this employee; default is every employee without a manager.

depth
integer [ 1 .. 10 ]
Default: 3

Levels below the roots.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "asOf": "2026-10-01",
  • "items": [
    ]
}

Search the colleague directory

Every employee may call it. Active colleagues only, directory fields only (plus the birthday day and month of colleagues who opted in). Allow-listed filters: q, departmentId, jobPositionId, locationId; any other filter (for example birthDate) or sort yields 400. Facets: departmentId, jobPositionId, locationId. Sort by lastName or firstName.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

q
string [ 2 .. 100 ] characters

Matches the full name, first name, last name, work e-mail, department and position; wildcards match literally.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Department filter.

jobPositionId
string <uuid> (Uuid)
Examples: jobPositionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Job position filter.

locationId
string <uuid> (Uuid)
Examples: locationId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Location filter.

facets
string
Examples: facets=departmentId,locationId

Comma-separated filters to count rows per value for (see meta.facets); the operation lists which.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Read the own employee record

Directory, work and personal data of the caller; notes, tags, exit reason and account state are excluded. editableFields lists the self-service fields plus shareBirthday.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

Change the own record within the self-service fields

Accepts only the company self-service fields of the caller's own record plus the birthday consent shareBirthday. Any other property yields 403 with a violation naming it. A change is recorded in the change history with the employee as author.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object (CustomFieldValuesInput)

Values by field key; null empties a field. A file is sent as an object with fileName, mediaType and the base64 content (PDF, image or office document, at most 10 MB). Unknown or archived keys, values that do not fit the type and empty required fields are violations on customFields.<key>. In self-service only self-service fields are accepted.

workPhone
string or null <= 40 characters
privatePhone
string or null <= 40 characters
privateEmail
string or null <email>
Gender (string) or null
Address (object) or null
Array of objects (EmergencyContact) <= 5 items
BankDetails (object) or null
shareBirthday
boolean
Default: false

Consent: colleagues see day and month of the birth date (never the year) in the directory. Default false; the employee can withdraw at any time. Only the employee changes it (updateMyEmployee); HR, imports and managers cannot.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "customFields": { },
  • "workPhone": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "gender": "female",
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "shareBirthday": false
}

Response samples

Content type
application/json
{
  • "customFields": {
    },
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allowedActions": [
    ],
  • "displayName": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "workEmail": "user@example.com",
  • "workPhone": "string",
  • "avatarUrl": "http://example.com",
  • "department": {
    },
  • "jobPosition": {
    },
  • "location": {
    },
  • "status": "pending",
  • "personnelNumber": "string",
  • "entryDate": "2026-10-01",
  • "probationEndDate": "2026-10-01",
  • "contractEndDate": "2026-10-01",
  • "exitDate": "2026-10-01",
  • "tenure": {
    },
  • "employment": {
    },
  • "reportingManager": {
    },
  • "exitReason": "resignation",
  • "account": {
    },
  • "tags": [
    ],
  • "notes": "string",
  • "privatePhone": "string",
  • "privateEmail": "user@example.com",
  • "alternativeName": "string",
  • "qualification": "string",
  • "priorExperienceMonths": 0,
  • "maritalStatus": "single",
  • "numberOfChildren": 0,
  • "gender": "female",
  • "birthDate": "2026-10-01",
  • "shareBirthday": false,
  • "privateAddress": {
    },
  • "emergencyContacts": [
    ],
  • "bankDetails": {
    },
  • "editableFields": [
    ]
}

The template of an employee import (HR)

The header row of every importable column in the documented order, with the same names as the export columns of the same data, and no data rows. The XLSX file has a second sheet that describes each column in the reader's language (meaning, required for new employees, format, allowed values) and lists the active department, position, role, employment type and location names of the company.

Authorizations:
bearerAuthsessionCookie
query Parameters
format
string
Default: "xlsx"
Enum: "xlsx" "csv"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List imports (HR)

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
status
string (ImportStatus)
Enum: "validating" "previewed" "committing" "committed" "failed" "expired"

Filter by status.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Upload a CSV or XLSX file and validate it without writing (HR)

HR. Parsing and row validation run asynchronously: the response is 202 with the import in status validating; poll getEmployeeImport until previewed. Writes no employee data.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: multipart/form-data
required
file
required
string <binary>

CSV (UTF-8, comma or semicolon) or XLSX, at most 5 MB and 5000 rows, with the columns of getEmployeeImportTemplate. Only personnelNumber is required in the file; a row creating an employee needs the columns marked so in the template, a row changing one only the columns it changes. An empty cell leaves a value unchanged, #empty clears it. Headers match case-insensitively, also by their German label.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "validating",
  • "fileName": "string",
  • "format": "csv",
  • "counts": {
    },
  • "createdBy": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "committedAt": "2026-10-01T08:15:00+02:00",
  • "unknownColumns": [
    ],
  • "failureReason": "string"
}

Read the status and counts of an import (HR)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "validating",
  • "fileName": "string",
  • "format": "csv",
  • "counts": {
    },
  • "createdBy": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "committedAt": "2026-10-01T08:15:00+02:00",
  • "unknownColumns": [
    ],
  • "failureReason": "string"
}

Discard an import and its file (HR)

409 while the import is committing.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the validated rows with their errors (HR)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
outcome
string (ImportRowOutcome)
Enum: "create" "update" "unchanged" "rejected" "skipped"

Filter by outcome.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Apply a previewed import (HR)

422 when rows are rejected and skipRejectedRows is not true. 409 for an expired or already committed import. Atomic: all committed rows or none.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
skipRejectedRows
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "skipRejectedRows": false
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "validating",
  • "fileName": "string",
  • "format": "csv",
  • "counts": {
    },
  • "createdBy": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "committedAt": "2026-10-01T08:15:00+02:00",
  • "unknownColumns": [
    ],
  • "failureReason": "string"
}

Audit

Field-level change history, the reasons of changes and their tags.

List the change history of the company (HR)

HR only. Sort by occurredAt (default newest first). Each entry carries its data category; reading entries of personal or hrInternal fields is recorded in the access log. Managers, employees and an admin without HR receive 403. Other filters or sorts yield 400. Entries are immutable; there is no write operation.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

subjectType
string

A registered type; unknown values yield 400.

subjectId
string <uuid> (Uuid)
Examples: subjectId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

The changed record.

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Every change concerning this employee.

actorId
string <uuid> (Uuid)
Examples: actorId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Employee who made the change.

field
string <= 80 characters

Field name.

source
string
Enum: "api" "web" "import" "system" "migration" "directory"

Origin of the change.

tagId
string <uuid> (Uuid)
Examples: tagId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Change sets whose reason carries this audit tag.

highlighted
boolean

true for change sets with the highlight flag or a highlighted tag, false for the others.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

List the change history of the own record

Changes to the caller's own record, newest first. Entries of category hrInternal (notes, tags, exit reason) are excluded; the caller never sees another person's history.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
field
string <= 80 characters

Field name.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Revert one change of a field (HR)

Writes the value the field had before the entry through the record's own operation, with its validation, optimistic locking and access check, as a new change set whose reason names the entry (revertedEntryId); other fields and later changes of other fields stay. A changed assignment of an employment period is reverted as a new period from today. 409 names the newest later change of the field (laterEntryId) unless force is sent; 422 for entries of secrets, masked and derived values and of created or deleted records (audit-entry-not-revertible), and with the violations of the record's operation when the old value is no longer valid. An entry of another company is 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
force
boolean
Default: false

Revert even though the field changed again later.

object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

Responses

Request samples

Content type
application/json
{
  • "force": false,
  • "changeReason": {
    }
}

Response samples

Content type
application/json
{
  • "revertedEntryId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "changeSetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

List the audit tags of the company (HR)

Sorted by the name in the reader's language. Archived tags only with includeArchived=true.

Authorizations:
bearerAuthsessionCookie
query Parameters
includeArchived
boolean
Default: false
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Create an audit tag (HR)

422 when an active tag of the company has the same name in a language.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
required
object (AuditTagNames) non-empty

The name per language, at most 40 characters each, at least one language.

highlighted
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "names": {
    },
  • "highlighted": false
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "highlighted": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read one audit tag (HR)

The version to change or archive the tag with.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "highlighted": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Rename an audit tag or switch its highlight (HR)

Only the sent properties change. A renamed tag is shown with its new name on past reasons too.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (AuditTagNames) non-empty

The name per language, at most 40 characters each, at least one language.

highlighted
boolean

Responses

Request samples

Content type
application/json
{
  • "names": {
    },
  • "highlighted": true
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "highlighted": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Archive an audit tag (HR)

The tag stays on past reasons and can no longer be chosen. There is no way back; create a new tag.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "highlighted": true,
  • "archivedAt": "2026-10-01T08:15:00+02:00"
}

Read the activity feed of a record

The change sets of the record, newest first (paged by change set), grouped by day in the company's time zone; relative names today and yesterday. Only entries of the categories the reader may read: the person reads directory, work and personal data, a manager in scope directory and work data, HR everything; reasons follow the category of their change set. Without allChanges, only the fields the company shows first (activityFeedFields); hiddenChanges tells whether more exist. Only records of the active company; another company's record is 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
recordType
required
string
Value: "employee"

The kind of record; employee for a person record.

id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
allChanges
boolean
Default: false

Every recorded field, not only those the company shows first.

page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "days": [
    ],
  • "hiddenChanges": true,
  • "meta": {
    }
}

Approvals

Approval inbox, decisions, rules, substitutes.

List approvals (my inbox by default)

Returns approvals by scope, oldest first. History entries are omitted from list items. Scope inbox (default): approvals whose current step is assigned or delegated to the caller (an employee who is no approver gets an empty list). Scope requested: the caller's own requests. Scope decided: approvals in which the caller decided a step. Scope company: every approval of the company, HR only (others get 403).

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string (ApprovalScope)
Default: "inbox"
Enum: "inbox" "requested" "decided" "company"

inbox = current step assigned or delegated to me; requested = my own requests; decided = approvals where I decided a step; company = every approval of the company (HR only).

subjectType
string (SubjectType) ^[a-z][A-Za-z]*$

The kind of request that goes through the approval engine, registered by the package that submits it (for example leaveRequest or overtime); listApprovalSubjectTypes lists those of the installation.

status
string
Enum: "pending" "approved" "rejected" "cancelled" "withdrawn"
requesterId
string <uuid> (Uuid)
Examples: requesterId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Get one approval with subject summary and full step history

Readable by the requester, by approvers while assigned and afterwards by those who decided a step, and by HR. Being an approver grants this approval only, never other data of the requester. Others get 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "subject": {
    },
  • "requester": {
    },
  • "origin": "user",
  • "supersedes": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "pending",
  • "currentStepSequence": 1,
  • "steps": [
    ],
  • "history": [
    ],
  • "autoApproved": true,
  • "autoApprovalReason": "string",
  • "ruleId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "ruleVersion": 0,
  • "requestedByDomain": true,
  • "canDecide": true,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "completedAt": "2026-10-01T08:15:00+02:00"
}

The discussion of an approval

Oldest first, with deleted comments as markers of author and time without text or files. For the requester, whoever was assigned to or decided a step (a later step's approvers once it is assigned) and HR; anyone else gets 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Comment on an approval

Multipart text (1 to 2000 characters) and up to five files[] (PDF, JPEG or PNG of at most 10 MB each, recognised by their content). A comment is no decision and leaves the approval as it is, pending or decided; the other participants receive approval.commentAdded. A file of another kind is refused with 422 and nothing is stored.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
text
required
string [ 1 .. 2000 ] characters
files
Array of strings <binary> <= 5 items [ items <binary > ]

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "author": {
    },
  • "mine": true,
  • "text": "string",
  • "files": [
    ],
  • "deletedAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete one's own comment

Text and files are removed; a marker with author and time stays. Only the author deletes (403).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
commentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Download the file of a request comment

Only for readers of the request; the file is never served by a public URL.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

A file of a comment

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
commentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
fileId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Approve the current step of an approval

Allowed for effective approvers of the current step only (assigned reporting manager, configured approver, substitute or escalation target). A step that is not yet active, or already decided (for example by a concurrent decision), yields 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
comment
string <= 2000 characters

Required when rejecting.

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "subject": {
    },
  • "requester": {
    },
  • "origin": "user",
  • "supersedes": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "pending",
  • "currentStepSequence": 1,
  • "steps": [
    ],
  • "history": [
    ],
  • "autoApproved": true,
  • "autoApprovalReason": "string",
  • "ruleId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "ruleVersion": 0,
  • "requestedByDomain": true,
  • "canDecide": true,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "completedAt": "2026-10-01T08:15:00+02:00"
}

Reject an approval at its current step

Ends the approval as rejected. A comment is mandatory (422 without it). Same permission and conflict rules as approveApproval.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
comment
required
string [ 1 .. 2000 ] characters

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "subject": {
    },
  • "requester": {
    },
  • "origin": "user",
  • "supersedes": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "pending",
  • "currentStepSequence": 1,
  • "steps": [
    ],
  • "history": [
    ],
  • "autoApproved": true,
  • "autoApprovalReason": "string",
  • "ruleId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "ruleVersion": 0,
  • "requestedByDomain": true,
  • "canDecide": true,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "completedAt": "2026-10-01T08:15:00+02:00"
}

Decide several approvals at once

Each item is decided independently in its own transaction and reported individually. Partial success is normal and still answers 200; inspect each item result. More than 100 items yield 422.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
required
Array of objects (BulkDecisionItem) [ 1 .. 100 ] items

Responses

Request samples

Content type
application/json
{
  • "items": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List the approval subject types of the installation

The subject types the installed packages register, with their quantity unit and conditions. HR and admin only. Subject types decided by a fixed chain, such as personal documents, are left out, as no rule applies to them.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List approval rules

HR and admin only.

Authorizations:
bearerAuthsessionCookie
query Parameters
subjectType
string (SubjectType) ^[a-z][A-Za-z]*$

The kind of request that goes through the approval engine, registered by the package that submits it (for example leaveRequest or overtime); listApprovalSubjectTypes lists those of the installation.

enabled
boolean
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create an approval rule

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
name
string <= 200 characters
subjectType
required
string (SubjectType) ^[a-z][A-Za-z]*$

The kind of request that goes through the approval engine, registered by the package that submits it (for example leaveRequest or overtime); listApprovalSubjectTypes lists those of the installation.

object (ApprovalRuleCondition)

All given conditions must match. leaveTypeIds is valid only for subject types that declare leave type conditions (see listApprovalSubjectTypes). The quantity bounds are valid for subject types with a quantity unit (days, seconds or minor units of the company currency) and count as one condition for precedence: quantityOver and quantityAtLeast exclude each other, a lower and an upper bound form a range with both bounds inclusive, and the lower bound must not exceed the upper one.

priority
integer [ 0 .. 1000 ]
Default: 0
approvalRequired
required
boolean
reason
string or null <= 500 characters

Mandatory when approvalRequired is false.

Array of objects (ApprovalRuleStep)

Ordered steps; empty only when approvalRequired is false. The last step must be roleHolder or specificEmployee.

enabled
boolean
Default: true

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "subjectType": "string",
  • "conditions": {
    },
  • "priority": 0,
  • "approvalRequired": true,
  • "reason": "string",
  • "steps": [
    ],
  • "enabled": true
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "subjectType": "string",
  • "conditions": {
    },
  • "priority": 0,
  • "approvalRequired": true,
  • "reason": "string",
  • "steps": [
    ],
  • "enabled": true,
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "version": 1,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Get one approval rule

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "subjectType": "string",
  • "conditions": {
    },
  • "priority": 0,
  • "approvalRequired": true,
  • "reason": "string",
  • "steps": [
    ],
  • "enabled": true,
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "version": 1,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Replace an approval rule

Creates a new rule version. Running approvals keep the version they were resolved from.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
name
string <= 200 characters
subjectType
required
string (SubjectType) ^[a-z][A-Za-z]*$

The kind of request that goes through the approval engine, registered by the package that submits it (for example leaveRequest or overtime); listApprovalSubjectTypes lists those of the installation.

object (ApprovalRuleCondition)

All given conditions must match. leaveTypeIds is valid only for subject types that declare leave type conditions (see listApprovalSubjectTypes). The quantity bounds are valid for subject types with a quantity unit (days, seconds or minor units of the company currency) and count as one condition for precedence: quantityOver and quantityAtLeast exclude each other, a lower and an upper bound form a range with both bounds inclusive, and the lower bound must not exceed the upper one.

priority
integer [ 0 .. 1000 ]
Default: 0
approvalRequired
required
boolean
reason
string or null <= 500 characters

Mandatory when approvalRequired is false.

Array of objects (ApprovalRuleStep)

Ordered steps; empty only when approvalRequired is false. The last step must be roleHolder or specificEmployee.

enabled
boolean
Default: true

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "subjectType": "string",
  • "conditions": {
    },
  • "priority": 0,
  • "approvalRequired": true,
  • "reason": "string",
  • "steps": [
    ],
  • "enabled": true
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "subjectType": "string",
  • "conditions": {
    },
  • "priority": 0,
  • "approvalRequired": true,
  • "reason": "string",
  • "steps": [
    ],
  • "enabled": true,
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "version": 1,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Delete or disable an approval rule

A rule used by any approval is disabled instead of physically deleted; the response is 204 either way.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Preview the rule and approvers a subject would get

Does not create an approval. Shows current resolution including self-approval skips and fallbacks.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
employeeId
required
string <uuid> (Uuid)
subjectType
required
string (SubjectType) ^[a-z][A-Za-z]*$

The kind of request that goes through the approval engine, registered by the package that submits it (for example leaveRequest or overtime); listApprovalSubjectTypes lists those of the installation.

leaveTypeId
string <uuid> (Uuid)
object (ApprovalQuantity)

The measurable size of the subject, used for thresholds. Days for leave, seconds for overtime, minor units of the company currency for a training request's estimated total.

Array of objects (ApprovalRuleStep) <= 5 items

Steps the owning domain would append (position append), for example an hr role-holder step.

Responses

Request samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "subjectType": "string",
  • "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "quantity": {
    },
  • "additionalSteps": [
    ]
}

Response samples

Content type
application/json
{
  • "ruleId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "ruleVersion": 0,
  • "approvalRequired": true,
  • "reason": "string",
  • "steps": [
    ]
}

List approval substitutes

Lists the caller's own substitutes. HR may filter by approverId for any employee of the company; for other callers a foreign approverId yields 403.

Authorizations:
bearerAuthsessionCookie
query Parameters
approverId
string <uuid> (Uuid)
Examples: approverId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Name a substitute approver

Pending steps of the approver within the period are reassigned at once.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
approverId
string <uuid> (Uuid)

The approver being substituted. Defaults to the caller; only HR may name someone else.

substituteId
required
string <uuid> (Uuid)
Date (string) or null
Date (string) or null
whileOnLeave
boolean
Default: false

Substitute applies automatically while the approver is on approved leave. Requires the company setting autoSubstituteOnLeave.

Responses

Request samples

Content type
application/json
{
  • "approverId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "substituteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "whileOnLeave": false
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "approver": {
    },
  • "substitute": {
    },
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "whileOnLeave": true,
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

End a substitution

The approver themself or HR. Undecided items delegated by it return to the original approver.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Get the company's approval settings

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "reminderAfterWorkingDays": 1,
  • "escalateAfterWorkingDays": 1,
  • "autoSubstituteOnLeave": true
}

Update the company's approval settings

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
reminderAfterWorkingDays
required
integer [ 1 .. 30 ]

Working days a step may wait before the first reminder; repeated at the same interval.

escalateAfterWorkingDays
integer or null [ 1 .. 60 ]

Working days before the next-level approver is added. Null disables escalation. Must not be smaller than reminderAfterWorkingDays.

autoSubstituteOnLeave
required
boolean

Substitutes marked whileOnLeave take over while the approver is on approved leave.

Responses

Request samples

Content type
application/json
{
  • "reminderAfterWorkingDays": 1,
  • "escalateAfterWorkingDays": 1,
  • "autoSubstituteOnLeave": true
}

Response samples

Content type
application/json
{
  • "reminderAfterWorkingDays": 1,
  • "escalateAfterWorkingDays": 1,
  • "autoSubstituteOnLeave": true
}

Notifications

Notification centre, preferences, real-time token, e-mail settings.

List my notifications

Newest first. Only the caller's own notifications are ever returned.

Authorizations:
bearerAuthsessionCookie
query Parameters
read
boolean
type
string (NotificationTypeKey) ^[a-z][A-Za-z]*(\.[A-Za-z]+)+$
Examples: type=approval.needed type=approval.reminder type=approval.escalated type=approval.delegated type=approval.withdrawn type=approval.approved type=approval.rejected type=leave.approved type=leave.contingentUsed type=leave.rejected type=leave.expiryReminder type=leave.balanceChanged type=leave.balanceBelowZero type=sickness.reported type=sickness.certificateOverdue type=time.missingPunch type=time.autoClockOut type=time.longDay type=time.runningClock type=time.breakReminder type=time.dayCorrected type=time.correctionFailed type=time.holidayFeedFailed type=time.workOnAbsence type=time.ruleViolation type=time.accountLimit type=schedule.swapConsentRequested type=export.ready type=export.failed type=report.subscriptionSuspended type=timesheet.submitted type=timesheet.reopened type=project.budgetThreshold type=employee.exitScheduled type=employee.responsibilitiesHandedOver type=employee.policyPublished type=account.invitation type=account.companyInvitation type=account.companyAdded type=role.changed type=migration.approvalsReleased type=migration.clockOutCut type=security.passwordChanged type=security.accountLocked type=accessToken.created type=accessToken.expiring type=accessToken.revokedByAdmin

Key of a registered notification type (registry, extended by every module). The initial catalogue is listed in the examples; an unregistered key in a filter yields 400.

page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Delete all my notifications

Deletes every notification of the caller, or with read=true only the read ones, and tells the caller's open sessions the new unread count. Other users' notifications are never touched.

Authorizations:
bearerAuthsessionCookie
query Parameters
read
boolean

true deletes only the read notifications.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Get the number of unread notifications

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "unread": 0
}

Mark all my notifications as read

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "marked": 0
}

Read one of my notifications

Used when the app opens a notification from a push message or a link.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "approval.needed",
  • "title": "string",
  • "body": "string",
  • "renderedTitle": "string",
  • "renderedBody": "string",
  • "parameters": {
    },
  • "link": "/approvals/0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "audience": "self",
  • "subjectType": "string",
  • "subjectId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "read": true,
  • "readAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete one of my notifications

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Mark a notification as read

Idempotent; an already read notification keeps its first read time.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "approval.needed",
  • "title": "string",
  • "body": "string",
  • "renderedTitle": "string",
  • "renderedBody": "string",
  • "parameters": {
    },
  • "link": "/approvals/0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "audience": "self",
  • "subjectType": "string",
  • "subjectId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "read": true,
  • "readAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Mark a notification as unread

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "approval.needed",
  • "title": "string",
  • "body": "string",
  • "renderedTitle": "string",
  • "renderedBody": "string",
  • "parameters": {
    },
  • "link": "/approvals/0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "audience": "self",
  • "subjectType": "string",
  • "subjectId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "read": true,
  • "readAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List the notification type registry with defaults

The types registered by all modules, at most 200, as a bounded list without paging. Only types the caller can receive are listed, none of a module the company switched off. Names are resolved to the caller's saved language.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get my notification preferences

The types the company offers, none of a module it switched off.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "soundEnabled": false,
  • "items": [
    ]
}

Update my notification preferences

Security types cannot be disabled on any channel (422).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
soundEnabled
boolean
Default: false

Whether the web application plays a short sound when a notification arrives while a page is open, at most once every 10 seconds. Left out on update, it stays as it is.

required
Array of objects (NotificationPreferenceEntry) <= 200 items

Effective settings for every registered type. Security types cannot be set to false.

Responses

Request samples

Content type
application/json
{
  • "soundEnabled": false,
  • "items": [
    ]
}

Response samples

Content type
application/json
{
  • "soundEnabled": false,
  • "items": [
    ]
}

List my devices that receive push messages

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Register the device of this app login for push messages

The device belongs to the app login of the access token and is deleted when the login ends. A token that is registered already is updated and moves to this login (200). A personal access token cannot register devices.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
platform
required
string
Enum: "android" "ios"
token
required
string <= 4096 characters

The FCM registration token or the APNs device token.

environment
required
string
Enum: "production" "development"

development sends through the APNs sandbox, for development builds.

appVersion
required
string <= 32 characters
publicKey
required
string^[A-Za-z0-9+/]{43}=$

The device's X25519 public key, base64; push contents are sealed for it.

Responses

Request samples

Content type
application/json
{
  • "platform": "android",
  • "token": "string",
  • "environment": "production",
  • "appVersion": "string",
  • "publicKey": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "platform": "android",
  • "environment": "production",
  • "appVersion": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Stop push messages to one of my devices

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Get a subscriber token for real-time topics

Grants exactly the requested topics the caller may read through the REST API, according to each registered topic's access declaration (own topics: self; team presence: the manager and HR; department presence and absence calendar: any employee within the company setting colleagueAbsenceVisibility; company presence: HR). If any requested topic is unregistered or not allowed (for example a team topic for an employee), the response is 403 and no token is issued.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
topics
required
Array of strings [ 1 .. 100 ] items

Responses

Request samples

Content type
application/json
{
  • "topics": [
    ]
}

Response samples

Content type
application/json
{
  • "hubUrl": "http://example.com",
  • "token": "string",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "topics": [
    ]
}

Get the company's sender identity and SMTP settings

Admin only. The password is never returned; passwordSet tells whether one is stored.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "senderName": "string",
  • "senderAddress": "user@example.com",
  • "replyToAddress": "user@example.com",
  • "host": "string",
  • "port": 0,
  • "encryption": "none",
  • "username": "string",
  • "timeoutSeconds": 0,
  • "senderDisplayMode": "company",
  • "passwordSet": true,
  • "usesInstallationDefault": true,
  • "transport": "string",
  • "effectiveTransport": "string"
}

Update the company's sender identity, SMTP settings and mail transport

Admin only. transport chooses how the company's mail is sent; an integration transport can be chosen only while its integration is enabled for the company (422 on transport). The password is write-only and stored encrypted. Without a user name the server is used without authentication; a password without a user name is refused (422 on username). There is no setting that hides delivery failures; an unknown property, such as failSilently, is refused with 422.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
senderName
required
string <= 200 characters
senderAddress
string <email>
replyToAddress
string or null <email>
host
string <= 255 characters
port
integer [ 1 .. 65535 ]
encryption
string (EmailEncryption)
Enum: "none" "starttls" "tls"
username
string or null <= 255 characters

Without a user name mails are sent without authentication, as relays and Direct Send require.

timeoutSeconds
integer [ 1 .. 120 ]
Default: 30

A connection that does not answer within it fails the attempt at the stage connection.

senderDisplayMode
string (SenderDisplayMode)
Enum: "company" "actorName"

How the company's mails show their sender: the sender name (company), or " via " for mails a person caused (actorName). The address is always the company's sender address, a reply-to of a person is their work address, and no name is ever taken from the local part of an address.

transport
string (EmailTransportKey) <= 40 characters

A mail transport: smtp, or the key of an installed integration that sends mail, such as microsoft365. A transport is accepted only while its integration is enabled for the company (422 on transport otherwise).

password
string or null <= 500 characters

Write-only. Omit to keep the stored password; null removes it. Stored encrypted and never returned.

Responses

Request samples

Content type
application/json
{
  • "senderName": "string",
  • "senderAddress": "user@example.com",
  • "replyToAddress": "user@example.com",
  • "host": "string",
  • "port": 1,
  • "encryption": "none",
  • "username": "string",
  • "timeoutSeconds": 30,
  • "senderDisplayMode": "company",
  • "transport": "string",
  • "password": "string"
}

Response samples

Content type
application/json
{
  • "senderName": "string",
  • "senderAddress": "user@example.com",
  • "replyToAddress": "user@example.com",
  • "host": "string",
  • "port": 0,
  • "encryption": "none",
  • "username": "string",
  • "timeoutSeconds": 0,
  • "senderDisplayMode": "company",
  • "passwordSet": true,
  • "usesInstallationDefault": true,
  • "transport": "string",
  • "effectiveTransport": "string"
}

List the mail transports the company can choose

Admin only. SMTP, and every installed integration that sends mail while it is enabled for the company; the transport the company chose stays listed with available: false after its integration was disabled.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Send a test mail to the calling admin or a chosen address

Sends synchronously through the saved settings, in the caller's language, to the calling admin or to recipientAddress. Answers 200 only when the SMTP server accepted the mail; otherwise 422 with a violation whose code names the failing stage (connection, encryption, authentication, senderRejected, recipientRejected, noAddress, notConfigured) and whose message is the server's reply, never the password.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
recipientAddress
string <email> <= 254 characters

The address to send the test mail to instead of the calling admin's.

Responses

Request samples

Content type
application/json
{
  • "recipientAddress": "user@example.com"
}

Response samples

Content type
application/json
{
  • "status": "accepted",
  • "sentTo": "user@example.com"
}

List e-mail deliveries of the company

Admin only. Shows source, recipient, status, attempts and last error, never the mail's content, which only HR reads in the sent-mail log.

Authorizations:
bearerAuthsessionCookie
query Parameters
status
string (EmailDeliveryStatus)
Enum: "queued" "sent" "failed" "skipped"
recipientId
string <uuid> (Uuid)
Examples: recipientId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
source
string (EmailDeliverySource)
Enum: "notificationType" "automation" "employeeMail" "announcement" "payslip"

What a mail came from.

page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Queue a failed delivery again

Only deliveries with status failed can be retried; others yield 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recipient": {
    },
  • "recipientKind": "user",
  • "recipientAddress": "string",
  • "source": "notificationType",
  • "sourceId": "string",
  • "type": "approval.needed",
  • "typeLabel": "string",
  • "status": "queued",
  • "language": "en",
  • "skipReason": "noEmailAddress",
  • "attempts": 0,
  • "lastError": "string",
  • "nextAttemptAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "sentAt": "2026-10-01T08:15:00+02:00"
}

Announcements

News to the company or to chosen people, with files, comments and who has read them.

List announcements

The current announcements of the caller's audience, newest first, each with viewed. With scope=managed HR lists every announcement of the company, expired ones too, filtered by status; a manager lists their own while the company lets managers publish; anybody else gets 403. Listing writes nothing.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Value: "managed"
status
string
Enum: "current" "expired"
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Publish an announcement

HR publishes to companies where it holds the role, to everyone or to chosen employees, departments and job positions. A manager publishes to chosen people of their team while the company access setting managersPublishAnnouncements is on; departments, job positions, an empty audience and people outside the team are refused (422 on targets). Without expiresOn the announcement expires after the company's validity. The audience is told.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
required
object (LanguageTexts)

1 to 200 characters per language.

object (LanguageTexts)

Rich text of at most 20000 characters per language: paragraphs, headings, bold, italic, lists, tables and links to https or mailto; everything else is removed on save.

defaultLanguage
required
string
Enum: "en" "de"
companyIds
Array of strings <uuid> (Uuid) [ items <uuid > ]

Companies where HR holds the role; by default the company of the request. A manager's is that one.

object

The audience within the companies; none means everyone of them. A manager names employees only.

expiresOn
string <date> (Date)

The last day it is visible, not before the day of publication; without it the company's validity applies.

comments
string (CommentMode)
Enum: "public" "private" "disabled"

public: the audience sees every comment; private: a commenter sees their own, HR all; disabled: no new comments, the earlier ones stay visible.

attachmentFileIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]

Uploads of the purpose announcements.attachment to attach when publishing.

Responses

Request samples

Content type
application/json
{
  • "title": {
    },
  • "body": {
    },
  • "defaultLanguage": "en",
  • "companyIds": [
    ],
  • "targets": {
    },
  • "expiresOn": "2026-10-01",
  • "comments": "public",
  • "attachmentFileIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "language": "string",
  • "title": "string",
  • "body": "string",
  • "defaultLanguage": "string",
  • "titles": {
    },
  • "bodies": {
    },
  • "texts": [
    ],
  • "companyIds": [
    ],
  • "targets": {
    },
  • "expiresOn": "2026-10-01",
  • "status": "current",
  • "comments": "public",
  • "author": {
    },
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "viewed": true,
  • "attachments": [
    ],
  • "allowedActions": [
    ]
}

Count the current announcements the caller has not opened

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "unread": 0
}

Read the default validity of announcements

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "announcementValidityDays": 30
}

Change the default validity of announcements

Existing announcements keep their expiry date.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
announcementValidityDays
required
integer [ 1 .. 365 ]
Default: 30

Responses

Request samples

Content type
application/json
{
  • "announcementValidityDays": 30
}

Response samples

Content type
application/json
{
  • "announcementValidityDays": 30
}

Read an announcement

With its files and its author. Somebody outside its audience, or after its expiry, gets 404; HR and the author read it at any time.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "language": "string",
  • "title": "string",
  • "body": "string",
  • "defaultLanguage": "string",
  • "titles": {
    },
  • "bodies": {
    },
  • "texts": [
    ],
  • "companyIds": [
    ],
  • "targets": {
    },
  • "expiresOn": "2026-10-01",
  • "status": "current",
  • "comments": "public",
  • "author": {
    },
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "viewed": true,
  • "attachments": [
    ],
  • "allowedActions": [
    ]
}

Change an announcement

HR changes any announcement of its companies; its author changes it while the company lets managers publish. The files stay; only people added to the audience are told.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
required
object (LanguageTexts)

1 to 200 characters per language.

object (LanguageTexts)

Rich text of at most 20000 characters per language: paragraphs, headings, bold, italic, lists, tables and links to https or mailto; everything else is removed on save.

defaultLanguage
required
string
Enum: "en" "de"
companyIds
Array of strings <uuid> (Uuid) [ items <uuid > ]

Companies where HR holds the role; by default the company of the request. A manager's is that one.

object

The audience within the companies; none means everyone of them. A manager names employees only.

expiresOn
string <date> (Date)

The last day it is visible, not before the day of publication; without it the company's validity applies.

comments
string (CommentMode)
Enum: "public" "private" "disabled"

public: the audience sees every comment; private: a commenter sees their own, HR all; disabled: no new comments, the earlier ones stay visible.

attachmentFileIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]

Uploads of the purpose announcements.attachment to attach when publishing.

Responses

Request samples

Content type
application/json
{
  • "title": {
    },
  • "body": {
    },
  • "defaultLanguage": "en",
  • "companyIds": [
    ],
  • "targets": {
    },
  • "expiresOn": "2026-10-01",
  • "comments": "public",
  • "attachmentFileIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "language": "string",
  • "title": "string",
  • "body": "string",
  • "defaultLanguage": "string",
  • "titles": {
    },
  • "bodies": {
    },
  • "texts": [
    ],
  • "companyIds": [
    ],
  • "targets": {
    },
  • "expiresOn": "2026-10-01",
  • "status": "current",
  • "comments": "public",
  • "author": {
    },
  • "publishedAt": "2026-10-01T08:15:00+02:00",
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "viewed": true,
  • "attachments": [
    ],
  • "allowedActions": [
    ]
}

Delete an announcement

With its comments, views and files; earlier notifications then lead to a page saying it is not found.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Record that the caller opened an announcement

Idempotent; the first opening counts.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

See who has read an announcement

HR and the author only; with the size of the audience and the number of readers.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "audienceCount": 0,
  • "viewerCount": 0,
  • "items": [
    ]
}

List the comments of an announcement

Public comments for everyone of the audience; private ones for their author and HR.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Comment on an announcement

1 to 1000 characters of plain text. Comments switched off answer 409. The author is told, and for public comments the earlier commenters.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
text
required
string [ 1 .. 1000 ] characters

Responses

Request samples

Content type
application/json
{
  • "text": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "author": {
    },
  • "text": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "own": true
}

Delete a comment

Its author and HR delete a comment; anybody else gets 403.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
commentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Add a file to an announcement

An upload of the purpose announcements.attachment (PDF, PNG, JPEG, WebP, DOCX or XLSX by its content, at most 10 MB), at most ten per announcement.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
fileId
required
string <uuid> (Uuid)

Responses

Request samples

Content type
application/json
{
  • "fileId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "fileName": "string",
  • "mediaType": "string",
  • "sizeBytes": 0
}

Download a file of an announcement

For the audience and HR only, never through a public link; disposition=inline shows PDFs and images in the browser.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
attachmentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
disposition
string
Enum: "inline" "attachment"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Range
string

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Remove a file of an announcement

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
attachmentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Mail

Mail templates, the company's texts of notification mails, mails to employees and the sent-mail log.

List the company's mail templates

HR lists every template of the company; a manager lists the templates of the context employee, for mails to their team. Ordered by name.

Authorizations:
bearerAuthsessionCookie
query Parameters
context
string
Examples: context=employee
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a mail template

The name is unique in the company without regard to case. Bodies are sanitised; a placeholder that is not of the context, or any template code, is refused with 422 naming it. The fallback language needs a variant.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
required
string [ 1 .. 100 ] characters
context
string
Default: "employee"

The placeholder context; only on creation, a change keeps it.

description
string <= 500 characters
fallbackLanguage
required
string (MailLanguage)
Enum: "en" "de"
required
Array of objects (MailVariant) [ 1 .. 2 ] items

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "context": "employee",
  • "description": "string",
  • "fallbackLanguage": "en",
  • "variants": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "context": "string",
  • "description": "string",
  • "fallbackLanguage": "en",
  • "variants": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

List the placeholders of a template context

The placeholders of the context with their label in the caller's saved language and their data category, as {{ key }} in a subject or body. Placeholders of the category personal are filled only for the person themselves; a manager may use directory and workData only.

Authorizations:
bearerAuthsessionCookie
query Parameters
context
required
string
Examples: context=employee
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Render a saved or unsaved template for a language and a recipient

Renders the template given by templateId or by template for the language, for an employee the caller may read (404 otherwise) or with sample values. Placeholders without a value render empty and are listed as warnings. A mail sent with the unchanged template contains exactly this content.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
templateId
string <uuid> (Uuid)
object (MailTemplateInput)
language
required
string (MailLanguage)
Enum: "en" "de"
recipientEmployeeId
string <uuid> (Uuid)

Responses

Request samples

Content type
application/json
{
  • "templateId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "template": {
    },
  • "language": "en",
  • "recipientEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "language": "en",
  • "subject": "string",
  • "html": "string",
  • "text": "string",
  • "warnings": [
    ]
}

Read a mail template

A template of another company, or for a manager one of another context than employee, is unknown.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "context": "string",
  • "description": "string",
  • "fallbackLanguage": "en",
  • "variants": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Change a mail template

Replaces name, description, fallback language and variants; the context stays.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
name
required
string [ 1 .. 100 ] characters
context
string
Default: "employee"

The placeholder context; only on creation, a change keeps it.

description
string <= 500 characters
fallbackLanguage
required
string (MailLanguage)
Enum: "en" "de"
required
Array of objects (MailVariant) [ 1 .. 2 ] items

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "context": "employee",
  • "description": "string",
  • "fallbackLanguage": "en",
  • "variants": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "context": "string",
  • "description": "string",
  • "fallbackLanguage": "en",
  • "variants": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Delete an unused mail template

A template an automation uses, as its mail or as a document, or that a company text was taken from, is not deleted: 409 naming its users. Sent mails keep their content.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Copy a mail template

The copy has every variant and the name " (copy)", or "(copy 2)" and so on where that exists.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "context": "string",
  • "description": "string",
  • "fallbackLanguage": "en",
  • "variants": [
    ],
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

List the built-in notification mails and the company's own texts for them

Every notification type with an e-mail whose text the company may replace, with its placeholders and the company texts per language. Security types and account.invitation are not listed.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Set the company's text of a notification mail in one language

Placeholders are the type's own; the link placeholder is required where the type has one. Security types and account.invitation are refused with 422.

Authorizations:
bearerAuthsessionCookie
path Parameters
type
required
string (NotificationTypeKey) ^[a-z][A-Za-z]*(\.[A-Za-z]+)+$
Examples: approval.needed approval.reminder approval.escalated approval.delegated approval.withdrawn approval.approved approval.rejected leave.approved leave.contingentUsed leave.rejected leave.expiryReminder leave.balanceChanged leave.balanceBelowZero sickness.reported sickness.certificateOverdue time.missingPunch time.autoClockOut time.longDay time.runningClock time.breakReminder time.dayCorrected time.correctionFailed time.holidayFeedFailed time.workOnAbsence time.ruleViolation time.accountLimit schedule.swapConsentRequested export.ready export.failed report.subscriptionSuspended timesheet.submitted timesheet.reopened project.budgetThreshold employee.exitScheduled employee.responsibilitiesHandedOver employee.policyPublished account.invitation account.companyInvitation account.companyAdded role.changed migration.approvalsReleased migration.clockOutCut security.passwordChanged security.accountLocked accessToken.created accessToken.expiring accessToken.revokedByAdmin

Key of a registered notification type (registry, extended by every module). The initial catalogue is listed in the examples; an unregistered key in a filter yields 400.

language
required
string
Enum: "en" "de"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
subject
required
string [ 1 .. 200 ] characters
body
required
string [ 1 .. 20000 ] characters
Uuid (string) or null

The mail template the text was taken from; the template cannot be deleted while it is.

Responses

Request samples

Content type
application/json
{
  • "subject": "string",
  • "body": "string",
  • "templateId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "type": "approval.needed",
  • "language": "en",
  • "subject": "string",
  • "body": "string",
  • "templateId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "updatedAt": "2026-10-01T08:15:00+02:00"
}

Restore the built-in text of a notification mail in one language

Authorizations:
bearerAuthsessionCookie
path Parameters
type
required
string (NotificationTypeKey) ^[a-z][A-Za-z]*(\.[A-Za-z]+)+$
Examples: approval.needed approval.reminder approval.escalated approval.delegated approval.withdrawn approval.approved approval.rejected leave.approved leave.contingentUsed leave.rejected leave.expiryReminder leave.balanceChanged leave.balanceBelowZero sickness.reported sickness.certificateOverdue time.missingPunch time.autoClockOut time.longDay time.runningClock time.breakReminder time.dayCorrected time.correctionFailed time.holidayFeedFailed time.workOnAbsence time.ruleViolation time.accountLimit schedule.swapConsentRequested export.ready export.failed report.subscriptionSuspended timesheet.submitted timesheet.reopened project.budgetThreshold employee.exitScheduled employee.responsibilitiesHandedOver employee.policyPublished account.invitation account.companyInvitation account.companyAdded role.changed migration.approvalsReleased migration.clockOutCut security.passwordChanged security.accountLocked accessToken.created accessToken.expiring accessToken.revokedByAdmin

Key of a registered notification type (registry, extended by every module). The initial catalogue is listed in the examples; an unregistered key in a filter yields 400.

language
required
string
Enum: "en" "de"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Write to employees

HR writes to any active employee of the company, a manager only to employees in their scope; when any recipient is outside the caller's scope, nothing is sent (403). Subject and body come from the request, or from the template where the request leaves them out; each recipient gets their own mail in their saved language, with the placeholders filled with their own data and only their own address. A manager uses placeholders of the categories directory and workData only. Delivery is asynchronous.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> (Uuid) [ 1 .. 500 ] items [ items <uuid > ]
templateId
string <uuid> (Uuid)
subject
string [ 1 .. 255 ] characters

Required without a template; with a template, sent as written instead of the template's.

body
string [ 1 .. 20000 ] characters

Rich text as in templates, or plain text. Required without a template; with a template, sent as written instead of the template's. Besides {{ group.field }}, {firstName}, {lastName}, {displayName}, {position} and {department} are filled.

attachmentFileIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]

Uploads of the purpose mail.attachment, at most 20 MB together.

documentTemplateIds
Array of strings <uuid> (Uuid) <= 5 items [ items <uuid > ]

Mail templates rendered as a PDF for each recipient.

Responses

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "templateId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "subject": "string",
  • "body": "string",
  • "attachmentFileIds": [
    ],
  • "documentTemplateIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recipients": [
    ]
}

Read a mail to employees with the delivery state per recipient

Only its writer (self) and HR read it; anyone else, its recipients too, gets 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "subject": "string",
  • "writer": {
    },
  • "template": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ],
  • "recipients": [
    ]
}

List the mails the company sent

Newest first, of the HR caller's company, with their source, recipient and status.

Authorizations:
bearerAuthsessionCookie
query Parameters
recipientEmployeeId
string <uuid> (Uuid)
Examples: recipientEmployeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
source
string (EmailDeliverySource)
Enum: "notificationType" "automation" "employeeMail" "announcement" "payslip"

What a mail came from.

status
string (EmailDeliveryStatus)
Enum: "queued" "sent" "failed" "skipped"
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Read a sent mail with its content

Reading the mail of another person is recorded in that person's log of reads of their personal data. A mail carrying a credential has no content (contentState notStored), nor has one older than the retention (expired).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "source": {
    },
  • "recipient": {
    },
  • "recipientAddress": "string",
  • "subject": "string",
  • "status": "queued",
  • "reason": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "sentAt": "2026-10-01T08:15:00+02:00",
  • "sender": "string",
  • "contentState": "stored",
  • "html": "string",
  • "text": "string",
  • "attachments": [
    ]
}

Read how long the content of sent mails is kept

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "sentMailRetentionDays": 180
}

Change how long the content of sent mails is kept

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
sentMailRetentionDays
required
integer [ 30 .. 730 ]
Default: 180

Days the content of sent mails is kept; subject, status and times stay with the delivery.

Responses

Request samples

Content type
application/json
{
  • "sentMailRetentionDays": 180
}

Response samples

Content type
application/json
{
  • "sentMailRetentionDays": 180
}

List the mails sent to me

Newest first; only mails sent to the caller.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Read a mail sent to me with its content

A mail sent to someone else is unknown (404).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "source": {
    },
  • "recipient": {
    },
  • "recipientAddress": "string",
  • "subject": "string",
  • "status": "queued",
  • "reason": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "sentAt": "2026-10-01T08:15:00+02:00",
  • "sender": "string",
  • "contentState": "stored",
  • "html": "string",
  • "text": "string",
  • "attachments": [
    ]
}

Dashboard

Personal dashboards, widget catalogue, role presets and widget data.

List the topic presets the caller may add

Topic presets such as "Workforce" or "Attendance analytics", contributed by the installed packages, of which the caller may use at least one widget, named in the caller's language. Add one with createMyDashboard and topicPresetKey; they are never added automatically.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List my dashboards (tabs)

The caller's visible dashboards in the active company in tab order. At the first call one dashboard per role preset the caller holds is created (My overview; My team, HR overview, Administration where held). A role tab whose role was lost and that has no usable widget left is hidden and returns with the role. Bounded, no paging.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "presetRoles": [
    ]
}

Create a dashboard

Creates a dashboard at the end of the tab order, empty or from a role preset the caller holds. At most 20 per user and company; the 21st and a preset role the caller does not hold yield 422.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
non-empty
name
string [ 1 .. 60 ] characters
presetRole
string (PresetRole)
Enum: "employee" "manager" "hr" "admin"

Role whose default dashboard a preset describes.

topicPresetKey
string^[a-z][A-Za-z]{1,63}$

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "presetRole": "employee",
  • "topicPresetKey": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

Reorder my dashboards

Sets the tab order. The ids must be exactly the caller's dashboards; anything else yields 422.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
ids
required
Array of strings <uuid> (Uuid) [ 1 .. 20 ] items unique [ items <uuid > ]

Every dashboard id of the caller exactly once, in the new tab order.

Responses

Request samples

Content type
application/json
{
  • "ids": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "presetRoles": [
    ]
}

Get a dashboard with its placements

Returns only placements of widgets the caller may use right now. Placements without access are kept and reappear when access returns. A dashboard of another user answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

Rename a dashboard or change its refresh interval

Changes the name and/or the automatic refresh interval (null = off, otherwise at least 30 seconds and at least the minimum of every placed widget).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
name
string [ 1 .. 60 ] characters
autoRefreshSeconds
integer or null [ 30 .. 86400 ]

Null switches automatic refresh off. Below 30 or below a placed widget's minimum yields 422.

object (DashboardPeriodInput)

A preset without days, or custom with from and to, at most 366 days apart (a longer or reversed range is a violation on period.to, missing days on period.from or period.to, days with another preset on period.from).

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

Delete a dashboard

Deletes the dashboard and its placements. The last visible dashboard cannot be deleted (422). A deleted role tab is not added again automatically; it can be recreated with createMyDashboard and its presetRole.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Set order, sizes and heights of the placements

Used by drag and drop and by the keyboard move and resize actions; rows is optional and keeps the height the placement has. The array lists the placements the caller currently sees, in grid order; hidden placements keep their position after their previous visible neighbour. Unknown keys, duplicates, sizes and heights a widget does not allow and omitted visible widgets yield 422.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
required
Array of objects (LayoutItemInput) <= 30 items

Responses

Request samples

Content type
application/json
{
  • "widgets": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

Add a widget to a dashboard

Appends the widget at the end. A widget the caller may not use answers 404, a widget already on the dashboard 409, a 31st widget or an invalid setting 422.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
key
required
string (WidgetKey) <= 60 characters ^[a-z][a-z0-9]*(-[a-z0-9]+)*$

Stable kebab-case key of a widget in the code registry.

size
string (DashboardSize)
Enum: "small" "medium" "large"

Defaults to the widget's default size.

rows
integer (DashboardRows) [ 1 .. 6 ]

Defaults to the widget's default height.

object (WidgetSettings)

Values for the widget's declared settings: integers within their bounds, codes of choices. Unknown names, values out of range and undeclared codes are rejected with 422.

Responses

Request samples

Content type
application/json
{
  • "key": "hours-week",
  • "size": "small",
  • "rows": 1,
  • "settings": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

Change size, height or settings of a placed widget

Changes the size (one of the widget's allowed sizes), the height in rows (between the widget's minHeight and maxHeight) and/or its settings.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
key
required
string (WidgetKey) <= 60 characters ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
Examples: hours-week

Stable kebab-case key of a widget in the code registry.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
size
string (DashboardSize)
Enum: "small" "medium" "large"

Width class of a widget on the responsive grid (1, 2 or 4 columns, clamped to the columns available).

rows
integer (DashboardRows) [ 1 .. 6 ]

Height of a widget in grid rows. A widget that is taller than its content is empty below it, one that is shorter scrolls inside.

object (WidgetSettings)

Values for the widget's declared settings: integers within their bounds, codes of choices. Unknown names, values out of range and undeclared codes are rejected with 422.

Responses

Request samples

Content type
application/json
{
  • "size": "small",
  • "rows": 1,
  • "settings": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

Remove a widget from a dashboard

Removes the placement. Removing a widget that is not placed answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
key
required
string (WidgetKey) <= 60 characters ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
Examples: hours-week

Stable kebab-case key of a widget in the code registry.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Restore a dashboard to its role default

Replaces the placements, including hidden ones, with the current preset of the dashboard's presetRole, filtered to what the caller may use. A custom dashboard (presetRole null) answers 422.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "position": 1,
  • "presetRole": "employee",
  • "topicPresetKey": "string",
  • "autoRefreshSeconds": 30,
  • "period": {
    },
  • "widgets": [
    ]
}

List the widgets I may add

The "add widget" catalogue, filtered to the caller: a widget whose access declaration does not include the caller, or whose precondition fails, is not listed. Bounded list. Titles and descriptions are translated.

Authorizations:
bearerAuthsessionCookie
query Parameters
group
string (WidgetGroup)
Enum: "time" "leave" "requests" "calendar" "team" "hr" "administration" "workforce" "attendance" "projects" "assets" "planning" "onboarding" "offboarding" "recruitment" "performance" "training" "helpdesk" "reports"

Restrict to one category.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get one catalogue entry

Answers 404 for a widget the caller may not use, indistinguishable from an unknown key.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string (WidgetKey) <= 60 characters ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
Examples: hours-week

Stable kebab-case key of a widget in the code registry.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "key": "hours-week",
  • "group": {
    },
  • "title": "string",
  • "description": "string",
  • "allowedSizes": [
    ],
  • "defaultSize": "small",
  • "defaultHeight": 1,
  • "minHeight": 1,
  • "maxHeight": 1,
  • "access": [
    ],
  • "dataPath": "/me/dashboard-data/time-summary",
  • "realtimeTopics": [
    ],
  • "minRefreshIntervalSeconds": 30,
  • "settings": [
    ],
  • "presetEligible": true,
  • "periodAware": true,
  • "page": "string"
}

List the role presets

The four role presets. Bounded list.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get a role preset

Returns the preset of one role.

Authorizations:
bearerAuthsessionCookie
path Parameters
role
required
string (PresetRole)
Enum: "employee" "manager" "hr" "admin"

Role whose default dashboard a preset describes.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "role": "employee",
  • "name": "string",
  • "widgets": [
    ],
  • "isFactoryDefault": true,
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "updatedBy": {
    }
}

Replace a role preset

Sets which widgets, in which order and size. Every widget must be accessible to the role and presetEligible; otherwise 422 and nothing changes. Existing dashboards are not touched.

Authorizations:
bearerAuthsessionCookie
path Parameters
role
required
string (PresetRole)
Enum: "employee" "manager" "hr" "admin"

Role whose default dashboard a preset describes.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
Array of objects (PresetItem) <= 30 items

Ordered widgets. Every widget must be accessible to the preset's role and presetEligible, and each key may appear once; otherwise 422.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "widgets": [
    ]
}

Response samples

Content type
application/json
{
  • "role": "employee",
  • "name": "string",
  • "widgets": [
    ],
  • "isFactoryDefault": true,
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "updatedBy": {
    }
}

Restore the factory default of a role preset

Replaces the preset with the default shipped with the application.

Authorizations:
bearerAuthsessionCookie
path Parameters
role
required
string (PresetRole)
Enum: "employee" "manager" "hr" "admin"

Role whose default dashboard a preset describes.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "role": "employee",
  • "name": "string",
  • "widgets": [
    ],
  • "isFactoryDefault": true,
  • "updatedAt": "2026-10-01T08:15:00+02:00",
  • "updatedBy": {
    }
}

List widgets a role preset may contain

Only widgets whose access declaration includes an actor of the role and that are presetEligible. Configuration cannot open access: nothing else can be added to a preset. Bounded list.

Authorizations:
bearerAuthsessionCookie
path Parameters
role
required
string (PresetRole)
Enum: "employee" "manager" "hr" "admin"

Role whose default dashboard a preset describes.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

My open requests

Own leave, cancellation, correction, overtime and schedule change requests with their approval status.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "pendingCount": 0,
  • "items": [
    ]
}

My latest notifications

The unread count and the five newest notifications of the caller.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "unreadCount": 0,
  • "items": [
    ]
}

My approval tasks

The caller's own pending approval tasks as manager, configured approver or substitute. Callers without a task assignment answer 403. Decisions go through approveApproval and rejectApproval.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "pendingCount": 0,
  • "overdueCount": 0,
  • "items": [
    ]
}

Recent role changes

Grants and revocations of the roles hr and admin in the last days, who did them and when.

Authorizations:
bearerAuthsessionCookie
query Parameters
days
integer [ 1 .. 90 ]
Default: 30

Look-back in days.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "days": 0,
  • "items": [
    ]
}

Coming birthdays

The birthdays of current colleagues who chose to share theirs (shareBirthday) within the next days, as month and day only: never the year or the age. The caller's own birthday is listed only if they shared it too. A 29 February is listed on 28 February in common years. Soonest first.

Authorizations:
bearerAuthsessionCookie
query Parameters
days
integer [ 7 .. 60 ]
Default: 30

How many days ahead, 7 to 60.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "days": 0,
  • "items": [
    ]
}

Coming work anniversaries

The employees of the caller's team, or for HR of the company, completing full years of service within the next days, with the date and the number of years. Soonest first.

Authorizations:
bearerAuthsessionCookie
query Parameters
days
integer [ 7 .. 60 ]
Default: 30

How many days ahead, 7 to 60.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "days": 0,
  • "items": [
    ]
}

My policies

The ten newest published policies addressed to the caller today, titled in the caller's language.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

My bonus points

The caller's own bonus point balance and available points in the company, or enabled false where the company keeps none.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "enabled": true,
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "balance": 0,
  • "available": 0
}

System status

Failed e-mail deliveries of the last 24 hours and the last test result of each identity provider. No employee data and no recipient addresses.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "failedEmailDeliveries": {
    },
  • "identityProviders": [
    ]
}

Customisation

Branding of a company and its login page, custom fields, and the lists as each person shapes them.

Read how I left a list

The caller's columns, page size, layout and last state of a list in the active company, as the list allows them now, with what can be shaped. Without a saved preference the list's defaults and the caller's default page size.

Authorizations:
bearerAuthsessionCookie
path Parameters
listKey
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a list in the list registry, such as employees or leaveRequests.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "listKey": "string",
  • "columns": [
    ],
  • "perPage": 10,
  • "ownPerPage": 10,
  • "layout": "table",
  • "lastState": {
    },
  • "filters": [
    ],
  • "sortKeys": [
    ],
  • "groupKeys": [
    ],
  • "layouts": [
    ],
  • "exportable": true
}

Save how I left a list

Replaces the preference of the list on every device of the caller. Written on every change of the list, so the last write wins without a version. Unknown columns, a list without a visible column, a page size other than 10, 25, 50, 100 or 200 and parameters the list does not allow are refused with 422; nothing is stored then.

Authorizations:
bearerAuthsessionCookie
path Parameters
listKey
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a list in the list registry, such as employees or leaveRequests.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
columns
required
Array of strings <= 200 items

The order of the columns; columns not named keep their place after them.

hiddenColumns
required
Array of strings <= 200 items

At least one column stays visible.

PageSize (integer) or null
ListLayout (string) or null
ListState (object) or null

Responses

Request samples

Content type
application/json
{
  • "columns": [
    ],
  • "hiddenColumns": [
    ],
  • "perPage": 10,
  • "layout": "table",
  • "lastState": {
    }
}

Response samples

Content type
application/json
{
  • "listKey": "string",
  • "columns": [
    ],
  • "perPage": 10,
  • "ownPerPage": 10,
  • "layout": "table",
  • "lastState": {
    },
  • "filters": [
    ],
  • "sortKeys": [
    ],
  • "groupKeys": [
    ],
  • "layouts": [
    ],
  • "exportable": true
}

List my saved views of a list

At most 50 views per list, by name. Nobody else's views are listed.

Authorizations:
bearerAuthsessionCookie
path Parameters
listKey
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a list in the list registry, such as employees or leaveRequests.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Save the current state of a list as a named view

Parameters, columns and layout are checked against the list as the caller may read it; anything else is refused with 422 on the property, and nothing is stored (H-VIEW-RAW-SAVED-FILTER). Marking it as default clears the earlier default of the list.

Authorizations:
bearerAuthsessionCookie
path Parameters
listKey
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a list in the list registry, such as employees or leaveRequests.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
required
string [ 1 .. 80 ] characters

Unique among the caller's views of the list, regardless of case.

colour
string (ViewColour)
Enum: "neutral" "brand" "success" "warning" "danger"

A colour of the design tokens.

isDefault
boolean
required
object (ListParameters)

Query parameters of the list's collection operation: its filters (and q where it searches), sort by its sort keys and groupBy by one of its grouping keys, each a single string. Nothing else is stored.

Array of strings or null
ListLayout (string) or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "colour": "neutral",
  • "isDefault": true,
  • "parameters": {
    },
  • "columns": [
    ],
  • "layout": "table"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "listKey": "string",
  • "name": "string",
  • "colour": "neutral",
  • "isDefault": true,
  • "parameters": {
    },
  • "columns": [
    ],
  • "layout": "table",
  • "dropped": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "etag": "string"
}

Rename, recolour, change or mark a saved view as default

A merge patch of the caller's own view at the version read; anyone else's view answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
listKey
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a list in the list registry, such as employees or leaveRequests.

id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/merge-patch+json
required
name
string [ 1 .. 80 ] characters
colour
string (ViewColour)
Enum: "neutral" "brand" "success" "warning" "danger"

A colour of the design tokens.

isDefault
boolean
object (ListParameters)

Query parameters of the list's collection operation: its filters (and q where it searches), sort by its sort keys and groupBy by one of its grouping keys, each a single string. Nothing else is stored.

Array of strings or null
ListLayout (string) or null

Responses

Request samples

Content type
application/merge-patch+json
{
  • "name": "string",
  • "colour": "neutral",
  • "isDefault": true,
  • "parameters": {
    },
  • "columns": [
    ],
  • "layout": "table"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "listKey": "string",
  • "name": "string",
  • "colour": "neutral",
  • "isDefault": true,
  • "parameters": {
    },
  • "columns": [
    ],
  • "layout": "table",
  • "dropped": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "etag": "string"
}

Delete a saved view

Only the caller's own view; anyone else's answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
listKey
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a list in the list registry, such as employees or leaveRequests.

id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Read how I left a page

The parameters the caller kept of a page with filters in the active company, such as the planning. Empty where nothing was kept. Unknown pages do not exist (404).

Authorizations:
bearerAuthsessionCookie
path Parameters
page
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a page that keeps its view, registered by a package, such as planning or planning-team.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "page": "string",
  • "values": {
    }
}

Keep how I left a page

Replaces the kept view of the page on every device of the caller. Written on every change of the page, so the last write wins without a version. Parameters the page does not register, values longer than 1000 characters and a view larger than 4096 bytes are refused with 422; nothing is stored then. Empty values are left out.

Authorizations:
bearerAuthsessionCookie
path Parameters
page
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$

The key of a page that keeps its view, registered by a package, such as planning or planning-team.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
required
object <= 20 properties

The whole view, which replaces the kept one. At most 4096 bytes as JSON.

Responses

Request samples

Content type
application/json
{
  • "values": {
    }
}

Response samples

Content type
application/json
{
  • "page": "string",
  • "values": {
    }
}

Read which modules the active company uses (admin only)

Every module of the installed packages a company may switch off (workingTime, attendance, leave, projects and those of later packages), with its name in the caller's language, whether the active company uses it, the modules it requires and the modules that require it, and the features of the module a company may switch off on their own. The core is no module. A company uses every module and feature until an admin switches one off.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Switch modules and features of the active company on or off (admin only)

Modules and features not named keep their state. For a feature switched off (such as workTypes or scheduleChanges of workingTime), the company's people no longer see its navigation entries, request kinds, widgets, tours, reports and columns, its pages answer like those of a module switched off, and its operations answer 404 feature-disabled; its data stays unchanged and is there again when the feature is switched back on. An unknown feature key is a violation on features.<key> with code companyFeature.unknown; a switch publishes CompanyFeatureSwitched. For a module switched off, the company's people no longer see its navigation entries, top-bar items, dashboard widgets, setup steps and notifications, its scheduled jobs skip the company, and its operations and pages answer 404 module-disabled; its data stays unchanged and is there again when the module is switched back on. A module that a module staying on requires cannot be switched off: a violation on modules.<key> with code companyModule.required names the requiring modules in requiredBy; an unknown key is a violation with code companyModule.unknown. Every switch is recorded in the change history and publishes CompanyModuleSwitched.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object

Module key => whether the company uses it, such as {"leave": false}.

object

Feature key => whether the company uses it, such as {"workTypes": false}.

Responses

Request samples

Content type
application/json
{
  • "modules": {
    },
  • "features": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read how the active company looks

The chosen theme or the company's own colours, its font, the colours every page uses (colours), the addresses of its logo, favicon and login image, and of its privacy policy and imprint. A company that never chose shows the Coral theme with the system font, as version 0 of its ETag.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "theme": "string",
  • "brand": "#0a5c36",
  • "neutral": "#0a5c36",
  • "font": "system",
  • "colours": {
    },
  • "logoUrl": "string",
  • "faviconUrl": "string",
  • "loginImageUrl": "string",
  • "loginCompany": true,
  • "privacyPolicyUrl": "https://muster.example/impressum",
}

Choose a theme or own brand colours and the font of the active company (admin only)

Either a theme of the catalogue or an own brand colour (with an optional own neutral colour), never both. The light and dark tokens are derived from the colours, and every pair of tokens the design system puts on each other must reach WCAG 2.2 AA in both schemes; a pair that does not is a violation on brand or neutral with code branding.contrast, naming the pair and the scheme, its ratio, the ratio required and the nearest passing shade. The addresses of the privacy policy and the imprint (privacyPolicyUrl, imprintUrl) are absolute https URLs or null, which removes one; one left out keeps its stored address. Recorded in the change history. Every page of the company uses the result from the next request.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

theme
string or null

A key of the catalogue; omit or null when sending own colours.

HexColour (string) or null

The own brand colour; omit or null when choosing a theme.

HexColour (string) or null

The own neutral colour, only with an own brand colour.

font
required
string (Font)
Enum: "system" "inter" "source-sans" "atkinson-hyperlegible" "open-dyslexic"
privacyPolicyUrl
string or null <uri> (LegalLinkUrl) <= 2048 characters ^https://

The address of the privacy policy; null removes it, omitted keeps the stored one.

imprintUrl
string or null <uri> (LegalLinkUrl) <= 2048 characters ^https://

The address of the imprint; null removes it, omitted keeps the stored one.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "theme": "string",
  • "brand": "#0a5c36",
  • "neutral": "#0a5c36",
  • "font": "system",
  • "colours": {
    },
  • "logoUrl": "string",
  • "faviconUrl": "string",
  • "loginImageUrl": "string",
  • "loginCompany": true,
  • "privacyPolicyUrl": "https://muster.example/impressum",
}

Set or replace the image of the login page of the active company (admin only)

JPEG, PNG or WebP, at most 2 MB. The image is encoded anew, so it is stored and served without its metadata (camera, location). The login page shows it while the company is the login company. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema:
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "loginImageUrl": "string"
}

Remove the image of the login page of the active company (admin only)

The login page shows no image again. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the theme catalogue

The 13 themes every installation ships, in their order, with their names and descriptions resolved to the reader's language and per language, and their base colour per role. Nobody changes the catalogue through the API.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read the branding of the login page

The name, colours, font, logo, favicon, login image and the addresses of the privacy policy and imprint of the login company, which the operator sets with app:branding:login-company; with exactly one company it is that company. Nothing else of the company is public. Without a login company companyName and the addresses are null, and the colours are the Coral theme's.

Responses

Response samples

Content type
application/json
{
  • "companyName": "string",
  • "colours": {
    },
  • "font": "system",
  • "logoUrl": "string",
  • "faviconUrl": "string",
  • "loginImageUrl": "string",
  • "privacyPolicyUrl": "https://muster.example/impressum",
}

Read a logo, favicon or login image of a company

The address carries the asset's version, so a changed asset gets a new address and is never served stale; an address of an earlier version answers 404. The assets of the login company are served to everyone, those of any other company only to its employees; anybody else receives 404. The favicon is generated from the logo. The files come from the configured file storage, whatever store that is.

path Parameters
companyId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
kind
required
string
Enum: "logo" "favicon" "login-image"
version
required
string^[0-9a-f]{1,32}$

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the record types that accept custom fields

The record types the core and the installed packages register, with the data categories their fields may use, who defines their fields and who edits their values, and whether the caller may define fields of each. Field definitions of person record types are managed by HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List the custom fields of the active company

Active fields by record type, section and position; with includeArchived HR and administrators also see archived ones. Everyone of the company reads the definitions the forms need; fields of category hrInternal are listed to HR only.

Authorizations:
bearerAuthsessionCookie
query Parameters
recordType
string

Only the fields of this record type.

includeArchived
boolean
Default: false

Archived fields as well (HR and administrators only).

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Define a custom field

Defines a field on a record type of the active company. Who may is declared by the record type: the fields of person record types by HR only (403 for an administrator without HR), the others by HR and administrators. The key is generated from the English label. At most 50 active fields per company and record type (422 on recordType). Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

recordType
required
string
required
object non-empty

Up to 80 characters per language; any letters, digits, spaces and punctuation.

LocalisedText (object) or null
type
required
string (CustomFieldType)
Enum: "text" "longText" "integer" "decimal" "date" "boolean" "singleChoice" "multipleChoice" "url" "email" "file"
DataCategory (string) or null

Required for a person record type, among the categories it allows; absent for the others.

required
boolean
selfService
boolean

The person edits their own value; only for directory, workData and personal.

Uuid (string) or null
position
integer [ 0 .. 999 ]
object (CustomFieldSettings)

The settings of the type: maxLength of a text (1 to 500, default 500), minimum and maximum of an integer, scale of a decimal (0 to 4, default 2). Other types take none.

Array of objects (CustomFieldOptionInput) <= 100 items

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "recordType": "string",
  • "labels": {
    },
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "key": "t-shirt-size",
  • "label": "string",
  • "labels": {
    },
  • "helpText": "string",
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ],
  • "archived": true,
  • "hasValues": true
}

Read a custom field

One field of the active company; a field of category hrInternal is not found for anyone but HR.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "key": "t-shirt-size",
  • "label": "string",
  • "labels": {
    },
  • "helpText": "string",
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ],
  • "archived": true,
  • "hasValues": true
}

Change a custom field

Labels, help texts, settings, options, section, position, required and self-service change freely; the key never does. The category only becomes stricter (422 on category), the type does not change once a value exists (422 on type). Making a field required leaves records without a value valid until they are edited and tells HR how many lack it (customField.requiredAdded). Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

LocalisedText (object) or null
type
string (CustomFieldType)
Enum: "text" "longText" "integer" "decimal" "date" "boolean" "singleChoice" "multipleChoice" "url" "email" "file"
category
string (DataCategory)
Enum: "directory" "workData" "personal" "hrInternal"

The data category of a custom field of a person record type; it decides who reads and writes its values.

required
boolean
selfService
boolean
Uuid (string) or null
position
integer [ 0 .. 999 ]
object (CustomFieldSettings)

The settings of the type: maxLength of a text (1 to 500, default 500), minimum and maximum of an integer, scale of a decimal (0 to 4, default 2). Other types take none.

Array of objects (CustomFieldOptionInput) <= 100 items

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "labels": {
    },
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "key": "t-shirt-size",
  • "label": "string",
  • "labels": {
    },
  • "helpText": "string",
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ],
  • "archived": true,
  • "hasValues": true
}

Delete an archived custom field

Only an archived field is deleted (409 otherwise). A field that holds values needs purgeValues=true (409 without it, nothing deleted); its values are deleted in the same transaction and every affected record gets one entry in its change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
purgeValues
boolean
Default: false

Must be true to delete a field that holds values; the values are deleted with it.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Archive a custom field

The field disappears from forms, lists, imports and new exports; its values stay and stay readable in the change history of the records.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "key": "t-shirt-size",
  • "label": "string",
  • "labels": {
    },
  • "helpText": "string",
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ],
  • "archived": true,
  • "hasValues": true
}

Restore an archived custom field

Brings an archived field back with its values. 422 when the record type already has 50 active fields.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "key": "t-shirt-size",
  • "label": "string",
  • "labels": {
    },
  • "helpText": "string",
  • "helpTexts": {
    },
  • "type": "text",
  • "category": "directory",
  • "required": true,
  • "selfService": true,
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "settings": {
    },
  • "options": [
    ],
  • "archived": true,
  • "hasValues": true
}

List the sections of custom fields

The sections of the active company by record type and position; record screens show each as its own group.

Authorizations:
bearerAuthsessionCookie
query Parameters
recordType
string

Only the fields of this record type.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Create a section of custom fields

A group of fields of one record type with its titles and position. A repeatable section holds a list of entries; all its fields share its category, which a repeatable section of a person record type must name. Who may is declared by the record type, as for definitions.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
recordType
required
string
required
object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

position
integer [ 0 .. 999 ]
repeatable
boolean
DataCategory (string) or null

Required for a repeatable section of a person record type.

Responses

Request samples

Content type
application/json
{
  • "recordType": "string",
  • "titles": {
    },
  • "position": 0,
  • "repeatable": true,
  • "category": "directory"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "title": "string",
  • "titles": {
    },
  • "position": 0,
  • "repeatable": true,
  • "category": "directory"
}

Change a section of custom fields

Titles and position change freely, without a version check; the category of a repeatable section only becomes stricter and moves its fields with it.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

position
integer [ 0 .. 999 ]
category
string (DataCategory)
Enum: "directory" "workData" "personal" "hrInternal"

The data category of a custom field of a person record type; it decides who reads and writes its values.

Responses

Request samples

Content type
application/json
{
  • "titles": {
    },
  • "position": 0,
  • "category": "directory"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "recordType": "string",
  • "title": "string",
  • "titles": {
    },
  • "position": 0,
  • "repeatable": true,
  • "category": "directory"
}

List the entries of a repeatable section on an employee

The entries by position. Whoever reads the section's category of the employee reads them: the person, a manager in scope for directory and work data, HR. Others who read the record receive an empty list; colleagues receive 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
sectionId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Add an entry to a repeatable section on an employee

At most 20 entries per employee and section (422). The person adds entries with the self-service fields of the section; HR with all of them. Every value is recorded in the employee's change history with the section's category.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
sectionId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
position
integer [ 0 .. 99 ]
object (CustomFieldValuesInput)

Values by field key; null empties a field. A file is sent as an object with fileName, mediaType and the base64 content (PDF, image or office document, at most 10 MB). Unknown or archived keys, values that do not fit the type and empty required fields are violations on customFields.<key>. In self-service only self-service fields are accepted.

Responses

Request samples

Content type
application/json
{
  • "position": 0,
  • "values": { }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "values": {
    }
}

Change an entry of a repeatable section

Only the sent values change; the person changes only the self-service fields. If-Match is checked when sent; lists name no versions of their entries, so without it the change applies to the entry as it is.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
string

ETag of the entry; a stale value yields 412.

Request Body schema: application/json
required
position
integer [ 0 .. 99 ]
object (CustomFieldValuesInput)

Values by field key; null empties a field. A file is sent as an object with fileName, mediaType and the base64 content (PDF, image or office document, at most 10 MB). Unknown or archived keys, values that do not fit the type and empty required fields are violations on customFields.<key>. In self-service only self-service fields are accepted.

Responses

Request samples

Content type
application/json
{
  • "position": 0,
  • "values": { }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "sectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "position": 0,
  • "values": {
    }
}

Delete an entry of a repeatable section

The person deletes own entries of a section with self-service fields; HR any. The removed values are recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
string

ETag of the entry; a stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Read the setup checklist of the active company

The steps the core and the installed packages contribute, in their order, each decided from the records of the active company alone: done, skipped (by an admin, with who and when) or open. A step links to its screen (url) only where the caller may do it; the others are information. finished counts done and skipped steps, percent is their share in whole percent, rounded down, and next is the first open required step. The checklist is completed when every required step is finished and visible while it is neither completed nor dismissed by the caller. Reading a completed checklist the first time publishes SetupChecklistCompleted.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "steps": [
    ],
  • "finished": 0,
  • "total": 0,
  • "percent": 0,
  • "next": { },
  • "completed": true,
  • "dismissed": true,
  • "visible": true
}

Hide the setup checklist for yourself in the active company

Hides the checklist from the caller's dashboard in the active company only; others of the company and the caller's other companies keep seeing it. The administration page still shows it. Dismissing twice changes nothing.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "steps": [
    ],
  • "finished": 0,
  • "total": 0,
  • "percent": 0,
  • "next": { },
  • "completed": true,
  • "dismissed": true,
  • "visible": true
}

Bring the setup checklist back for yourself in the active company

Undoes dismissSetupChecklist of the caller in the active company, as the help launcher offers it.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "steps": [
    ],
  • "finished": 0,
  • "total": 0,
  • "percent": 0,
  • "next": { },
  • "completed": true,
  • "dismissed": true,
  • "visible": true
}

Mark an optional setup step as not needed for the active company (admin only)

The step counts as finished for everyone of the company, shown as not needed with the admin's name. Recorded in the change history. A required step cannot be skipped (422 setup-step-required); an unknown step is 404. Skipping a skipped step changes nothing.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of the step, such as companyLogo.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "steps": [
    ],
  • "finished": 0,
  • "total": 0,
  • "percent": 0,
  • "next": { },
  • "completed": true,
  • "dismissed": true,
  • "visible": true
}

Take back that a setup step is not needed (admin only)

The step is open again unless the company's records complete it. Recorded in the change history. An unknown step is 404; a step that is not skipped stays as it is.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of the step, such as companyLogo.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "steps": [
    ],
  • "finished": 0,
  • "total": 0,
  • "percent": 0,
  • "next": { },
  • "completed": true,
  • "dismissed": true,
  • "visible": true
}

List the tours of the active company and the shipped ones (admin only)

The tours the installed packages ship and the tours the company wrote, by source and then key, drafts included. A shipped tour is published while the company offers it. Tours of a module the company switched off are left out.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Write a tour for the active company (admin only)

Every step names an anchor the page it is shown on declares (listTourPages) or none; anything else is a violation on steps.<n>.anchor with code tour.unknownAnchor. A step's page is one of the tour's routes. Bodies are restricted Markdown without placeholders (tour.placeholder, naming line and column). A draft (published: false) is seen by admins only. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
key
string^[a-zA-Z0-9][a-zA-Z0-9-]{0,79}$

Only on create, and never changed; unique among the tours the company sees, shipped ones included (tour.keyTaken). Written from the English title when left out.

required
object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

LocalisedText (object) or null
icon
string or null^[a-z0-9-]{1,40}$

The name of an icon of the icon set, such as compass.

routes
required
Array of strings [ 1 .. 10 ] items

The pages of the tour; the first is where it starts. Unknown pages are tour.unknownPage.

audience
required
Array of strings (TourAudience) non-empty
Items Enum: "anyEmployee" "manager" "employeeWithoutReports" "hr" "admin"
trigger
required
string (TourTrigger)
Enum: "autoOnce" "manual"

autoOnce starts by itself the first time the reader opens one of its pages, until they complete or skip it; manual starts only from the help launcher.

priority
integer [ 0 .. 100 ]
Default: 50
published
boolean
Default: false
allowClose
boolean
Default: true
showProgress
boolean
Default: true
required
Array of objects (TourStepInput) [ 1 .. 30 ] items

Responses

Request samples

Content type
application/json
{
  • "key": "string",
  • "titles": {
    },
  • "descriptions": {
    },
  • "icon": "string",
  • "routes": [
    ],
  • "audience": [
    ],
  • "trigger": "autoOnce",
  • "priority": 50,
  • "published": false,
  • "allowClose": true,
  • "showProgress": true,
  • "steps": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "key": "string",
  • "source": "shipped",
  • "title": "string",
  • "titles": {
    },
  • "description": "string",
  • "descriptions": {
    },
  • "icon": "string",
  • "routes": [
    ],
  • "audience": [
    ],
  • "trigger": "autoOnce",
  • "priority": 0,
  • "published": true,
  • "allowClose": true,
  • "showProgress": true,
  • "module": "string",
  • "contentVersion": 0,
  • "steps": [
    ]
}

Read a tour with its steps in every language (admin only)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "key": "string",
  • "source": "shipped",
  • "title": "string",
  • "titles": {
    },
  • "description": "string",
  • "descriptions": {
    },
  • "icon": "string",
  • "routes": [
    ],
  • "audience": [
    ],
  • "trigger": "autoOnce",
  • "priority": 0,
  • "published": true,
  • "allowClose": true,
  • "showProgress": true,
  • "module": "string",
  • "contentVersion": 0,
  • "steps": [
    ]
}

Replace a tour of the active company, or switch a shipped tour on or off (admin only)

A tour of the company is replaced as a whole; its key stays. Changing its steps counts contentVersion up; whoever completed or skipped the tour sees it again only after resetTourProgress. Of a shipped tour only published is taken, which decides whether the company offers it; its content stays as its package ships it. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
key
string^[a-zA-Z0-9][a-zA-Z0-9-]{0,79}$

Only on create, and never changed; unique among the tours the company sees, shipped ones included (tour.keyTaken). Written from the English title when left out.

required
object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

LocalisedText (object) or null
icon
string or null^[a-z0-9-]{1,40}$

The name of an icon of the icon set, such as compass.

routes
required
Array of strings [ 1 .. 10 ] items

The pages of the tour; the first is where it starts. Unknown pages are tour.unknownPage.

audience
required
Array of strings (TourAudience) non-empty
Items Enum: "anyEmployee" "manager" "employeeWithoutReports" "hr" "admin"
trigger
required
string (TourTrigger)
Enum: "autoOnce" "manual"

autoOnce starts by itself the first time the reader opens one of its pages, until they complete or skip it; manual starts only from the help launcher.

priority
integer [ 0 .. 100 ]
Default: 50
published
boolean
Default: false
allowClose
boolean
Default: true
showProgress
boolean
Default: true
required
Array of objects (TourStepInput) [ 1 .. 30 ] items

Responses

Request samples

Content type
application/json
{
  • "key": "string",
  • "titles": {
    },
  • "descriptions": {
    },
  • "icon": "string",
  • "routes": [
    ],
  • "audience": [
    ],
  • "trigger": "autoOnce",
  • "priority": 50,
  • "published": false,
  • "allowClose": true,
  • "showProgress": true,
  • "steps": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "key": "string",
  • "source": "shipped",
  • "title": "string",
  • "titles": {
    },
  • "description": "string",
  • "descriptions": {
    },
  • "icon": "string",
  • "routes": [
    ],
  • "audience": [
    ],
  • "trigger": "autoOnce",
  • "priority": 0,
  • "published": true,
  • "allowClose": true,
  • "showProgress": true,
  • "module": "string",
  • "contentVersion": 0,
  • "steps": [
    ]
}

Delete a tour of the active company with everybody's progress (admin only)

A shipped tour cannot be deleted (409 tour-shipped); switch it off with updateTour instead. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Start a tour again for everyone of the active company (admin only)

Forgets the progress of every person of the company in the tour, so an autoOnce tour starts once more on the next visit of its page. People of other companies keep theirs.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the pages a tour can show and the anchors each offers (admin only)

The pages of the navigation of the installed packages, of modules the company uses, with their names and the anchors they declare, followed by those of the frame around every page. The tour editor offers only these.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List the tours offered to the caller, with their progress

The published tours of the active company and the shipped tours it offers whose audience the caller matches, in the caller's language, with the steps the caller may see. Admins also see drafts, as a preview, which never start by themselves. With route, only the tours of that page and the one that starts by itself there now.

Authorizations:
bearerAuthsessionCookie
query Parameters
route
string <= 120 characters

The route name of the page, such as app_dashboard.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "autoStart": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Record how far the caller got in a tour

Recorded for the caller alone, on every device; a user named in the body is ignored. Closing a tour before its last step is skipped, finishing it completed. A completed tour stays completed when it is replayed: a later inProgress or skipped keeps the completion. 404 for a tour the caller is not offered.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
status
required
string (TourStatus)
Enum: "inProgress" "completed" "skipped"
lastStep
required
integer [ 0 .. 30 ]

Responses

Request samples

Content type
application/json
{
  • "status": "inProgress",
  • "lastStep": 0
}

Response samples

Content type
application/json
{
  • "tourId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "inProgress",
  • "lastStep": 0,
  • "completedAt": "2026-10-01T08:15:00+02:00",
  • "tourVersion": 0
}

List the template slots in every language of the active company (admin only)

One item per slot the installed packages register and language the company offers, by slot and then language: which version is active now and since when, the scheduled version that starts next, the number of the newest version and when the text was last rendered.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Download the templates of the active company as JSON (admin only)

Every template the company wrote, by slot and language, with the content of its active and draft versions, as a file importContentTemplates takes.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "format": "adsum-content-templates-1",
  • "exportedAt": "2026-10-01T08:15:00+02:00",
  • "templates": [
    ]
}

Import a template file into the active company as drafts (admin only)

Every version of the file becomes a new draft of its slot and language, after the checks of a save; nothing is ever activated by an import. A slot unknown here, a language the company does not offer or a placeholder the slot does not allow is a violation on templates.<n>.versions.<m>.content naming slot, language and placeholder, and then nothing is imported. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
format
required
string
Value: "adsum-content-templates-1"
exportedAt
string <date-time> (DateTime)

An instant with an offset or Z. An input also accepts fractional seconds of any number of digits, as Date.toISOString() sends them; the fraction is dropped. An answer is always in whole seconds.

required
Array of objects <= 200 items

Responses

Request samples

Content type
application/json
{
  • "format": "adsum-content-templates-1",
  • "exportedAt": "2026-10-01T08:15:00+02:00",
  • "templates": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read a template slot in one language with its shipped default (admin only)

The slot's placeholders and where it is shown, its shipped default in the language, the version shown now and the newest version, on which the next save is based. A slot or language the company does not have is 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "slot": "string",
  • "language": "en",
  • "surface": "loginPage",
  • "placeholders": [
    ],
  • "defaultContent": "string",
  • "latestNumber": 0,
  • "live": {
    },
  • "latest": {
    },
  • "lastRenderedAt": "2026-10-01T08:15:00+02:00"
}

List the versions of a template, newest first (admin only)

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Save a new version of a template as a draft (admin only)

The content is restricted Markdown with the slot's placeholders only; a placeholder outside them or written wrongly is a violation on content with code contentTemplate.placeholder, naming line, column and placeholder. basedOn is the number of the newest version the text was written from, 0 for none; a number no version has is a violation on basedOn. When another version was saved meanwhile, the answer is 412 with that version in latestVersion, so both texts can be compared; nothing is locked. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
content
required
string <= 10000 characters
basedOn
required
integer >= 0

The number of the newest version the text was written from, 0 when there was none.

Responses

Request samples

Content type
application/json
{
  • "content": "string",
  • "basedOn": 0
}

Response samples

Content type
application/json
{
  • "number": 1,
  • "content": "string",
  • "state": "draft",
  • "activeFrom": "2026-12-23T00:00",
  • "activeUntil": "2026-12-23T00:00",
  • "activeFromAt": "2026-10-01T08:15:00+02:00",
  • "activeUntilAt": "2026-10-01T08:15:00+02:00",
  • "live": true,
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Make a version active now or for a window (admin only)

Without activeFrom the version is active from now; without activeUntil it stays active until another one replaces it. Both are local date-times in the company's time zone, answered also as UTC instants. At any moment the newest active version whose window contains it is shown, otherwise the shipped default. The change takes effect on the next page or mail. When a window starts later, the admins of the company receive contentTemplate.scheduledActivated at its start. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

number
required
integer >= 1
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
optional
ContentTemplateLocalDateTime (string) or null
ContentTemplateLocalDateTime (string) or null

Must lie after activeFrom, or after now without it.

Responses

Request samples

Content type
application/json
{
  • "activeFrom": "2026-12-23T00:00",
  • "activeUntil": "2026-12-23T00:00"
}

Response samples

Content type
application/json
{
  • "number": 1,
  • "content": "string",
  • "state": "draft",
  • "activeFrom": "2026-12-23T00:00",
  • "activeUntil": "2026-12-23T00:00",
  • "activeFromAt": "2026-10-01T08:15:00+02:00",
  • "activeUntilAt": "2026-10-01T08:15:00+02:00",
  • "live": true,
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Archive a version, which is then no longer shown (admin only)

An archived version stays in the list and can be restored or activated again. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

number
required
integer >= 1
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "number": 1,
  • "content": "string",
  • "state": "draft",
  • "activeFrom": "2026-12-23T00:00",
  • "activeUntil": "2026-12-23T00:00",
  • "activeFromAt": "2026-10-01T08:15:00+02:00",
  • "activeUntilAt": "2026-10-01T08:15:00+02:00",
  • "live": true,
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Save the content of an older version as a new draft (admin only)

The new draft gets the next number; the active version stays active until the draft is activated. Recorded in the change history.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

number
required
integer >= 1
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "number": 1,
  • "content": "string",
  • "state": "draft",
  • "activeFrom": "2026-12-23T00:00",
  • "activeUntil": "2026-12-23T00:00",
  • "activeFromAt": "2026-10-01T08:15:00+02:00",
  • "activeUntilAt": "2026-10-01T08:15:00+02:00",
  • "live": true,
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Compare two versions of a template line by line (admin only)

The lines of to against those of from, in order: unchanged lines, lines only in from (sign -) and lines only in to (sign +), so a change is shown by sign and text, not by colour alone. from=0 compares with the shipped default.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

query Parameters
from
required
integer >= 0
to
required
integer >= 1
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": 0,
  • "to": 0,
  • "lines": [
    ]
}

Show a version or an unsaved text with sample data, as it will render (admin only)

Renders the version number, or content before it is saved, with the company's name, address and logo and sample values for the other placeholders, in the language of the path: html is the text alone, page a complete sample of where the slot is shown (the login page, a mail or a document page) in the colour scheme asked for. Nothing is saved or activated. The content is checked like a save.

Authorizations:
bearerAuthsessionCookie
path Parameters
slot
required
string^[a-zA-Z][a-zA-Z0-9]{0,59}$

The key of a template slot, such as loginNotice.

language
required
string (Locale) ^[a-z]{2,3}(_[A-Z][A-Za-z]+)?$
Examples: en de

A language the company offers.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
number
integer >= 1
content
string <= 10000 characters
scheme
string
Default: "light"
Enum: "light" "dark"

Responses

Request samples

Content type
application/json
{
  • "number": 1,
  • "content": "string",
  • "scheme": "light"
}

Response samples

Content type
application/json
{
  • "language": "en",
  • "scheme": "light",
  • "html": "string",
  • "page": "string"
}

What depends on a record before it is deleted or archived

The records that depend on a record of a list, by kind, counted within the caller's scope, and what happens to them as the owning operation decides: kept, archived too, or blocking it. Only record types a list of the list registry names (department); the owning operation's 409 problem carries the same counts in dependents.

Authorizations:
bearerAuthsessionCookie
path Parameters
recordType
required
string^[a-zA-Z][a-zA-Z0-9-]{0,79}$
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "recordType": "string",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "dependents": [
    ]
}

Integrations

The integrations with outside services a company uses, their settings and their connection.

List the installed integrations and whether the active company uses them (admin only)

Every integration of the installed packages, by key, with its name and description in the caller's language, its features, whether the active company enabled it, and how its connection fared at the last check. An integration that is not installed is not listed.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read the settings of an integration for the active company (admin only)

The settings the form shows, with their labels in the caller's language, and the stored values that are no secret. For a secret only whether one is stored is returned (<name>Set).

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string (IntegrationKey) ^[a-z][A-Za-z0-9]{1,39}$

Key of an installed integration; another key answers 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "callbackUrl": "http://example.com",
  • "key": "string",
  • "fields": [
    ],
  • "settings": {
    }
}

Change the settings of an integration for the active company (admin only)

Replaces the settings that are no secret and keeps every secret not given. The settings are validated as a whole; violations name settings.<name>, and a setting the integration does not have is a violation with code integration.unknownSetting. Secrets are stored encrypted and never returned, logged or shown in a violation. The change is recorded in the change history with secrets masked.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string (IntegrationKey) ^[a-z][A-Za-z0-9]{1,39}$

Key of an installed integration; another key answers 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
required
object

The settings, by name. A setting that is no secret and not given is cleared. A secret not given keeps its stored value, null removes it, a text replaces it.

Responses

Request samples

Content type
application/json
{
  • "settings": {
    }
}

Response samples

Content type
application/json
{
  • "callbackUrl": "http://example.com",
  • "key": "string",
  • "fields": [
    ],
  • "settings": {
    }
}

Enable an integration for the active company (admin only)

Needs saved settings that pass validation; otherwise 422 with violations on settings.<name>. The connection is tested right away and its result returned, but a failing test does not prevent enabling. Other companies are not affected. Recorded in the change history; publishes IntegrationEnabled.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string (IntegrationKey) ^[a-z][A-Za-z0-9]{1,39}$

Key of an installed integration; another key answers 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "passed": true,
  • "checks": [
    ],
  • "integration": {
    }
}

Disable an integration for the active company (admin only)

From now on the integration sends, receives, schedules and offers nothing for the company, and its callbacks answer 404. Settings, secrets and records created through it are kept, so enabling it again restores the previous state. Recorded in the change history; publishes IntegrationDisabled.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string (IntegrationKey) ^[a-z][A-Za-z0-9]{1,39}$

Key of an installed integration; another key answers 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "key": "string",
  • "name": "string",
  • "description": "string",
  • "features": [
    ],
  • "state": "enabled",
  • "status": "notConfigured",
  • "checkedAt": "2026-10-01T08:15:00+02:00",
  • "errorCode": "string"
}

Test the connection of an integration with the saved settings (admin only)

Runs the integration's connection test with the saved settings, also while it is disabled, and answers with one result per check. The result is never a success when a check failed. Without valid saved settings the answer is 422 with violations on settings.<name>. The outcome becomes the connection status of the integration.

Authorizations:
bearerAuthsessionCookie
path Parameters
key
required
string (IntegrationKey) ^[a-z][A-Za-z0-9]{1,39}$

Key of an installed integration; another key answers 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "passed": true,
  • "checks": [
    ],
  • "integration": {
    }
}

Request kinds

The requests an employee files for themselves, as the installed packages register them, and the choices of their fields.

List the requests the caller may file for themselves

The request kinds of the installed packages that the caller may file, by code, each with its label in the caller's language, its keywords in English and German, its fields and the operation that files it. A channel files a kind by calling that operation as the caller. A kind of a package that is not installed or of a module the active company switched off is not listed; a caller without an employee record gets an empty list.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read the choices of the fields of a request kind for the caller

For every field of the kind with an option source, the options the caller may choose: master data of the caller's company only, active entries only and only those the eligibility rules of the owning package allow, named in the caller's language. A code the caller may not file answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
code
required
string (RequestKindCode) ^[a-z][A-Za-z0-9]{1,39}$

Code of a request kind the caller may file; another code answers 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "code": "string",
  • "fields": [
    ]
}

Files

The file storage, uploads verified by their content and the delivery of stored files.

Upload a file for a purpose

Stores the file when its content, not its name or declared media type, matches one of the formats of the purpose and its size does not exceed the purpose's maximum. Active content (HTML, XML other than the office formats, scripts, macro-enabled office files, executables, archives) is never accepted. The upload stays unlinked and readable by its uploader only until the package owning the purpose links it to a record; one unlinked for more than 24 hours is discarded. A rejected upload stores nothing.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: multipart/form-data
required
purpose
required
string

The purpose the file is for, such as documents.employeeDocument or leave.attachment.

file
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "purpose": "string",
  • "fileName": "Zeugnis _2026_.pdf",
  • "format": "pdf",
  • "sizeBytes": 1,
  • "sha256": "string",
  • "linked": true,
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete an unlinked upload

The uploader deletes an upload no record took yet. A file that belongs to a record is deleted only with it (409); another person's upload answers 404 like an unknown one.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Read the content of a stored file

Served only after the read rule of the file's purpose allowed the caller, which asks the module owning the record (an unlinked upload is its uploader's alone). A caller the rule does not allow, a file of a package that is not installed and a file whose content is lost all answer 404, exactly like an unknown identifier. The content is streamed with the stored format's media type, X-Content-Type-Options: nosniff, Content-Security-Policy: sandbox; default-src 'none', Cache-Control: private, no-store and the sanitised file name; a single byte range answers 206. Reads of personal or HR-internal files by anybody but the person they are about are logged.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
disposition
string
Default: "attachment"
Enum: "attachment" "inline"

inline to show the file in the page (a preview); honoured for PDF and raster images only, every other format is sent as an attachment.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Range
string^bytes=\d*-\d*$

One byte range (bytes=1048576- or bytes=0-65535) for a viewer that loads a large file in parts.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Read a public file without login

Only files of a purpose on the code-level allow-list of public purposes, which holds the company logo alone, and only the logo a company shows now: the login page loads it from here. Any other identifier answers 404.

path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Range
string^bytes=\d*-\d*$

One byte range (bytes=1048576- or bytes=0-65535) for a viewer that loads a large file in parts.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}