Personio
Connect Swarmia directly to Personio with an API credential to sync time off and match employees.
Swarmia connects directly to Personio with an API credential you create in Personio and paste into Swarmia. Once connected, Swarmia syncs time off and matches Personio employees to Swarmia authors.
Requirements
Swarmia organization admin. Connecting Personio requires the organization admin role in Swarmia.
Personio admin. Creating the API credential requires administrator access in Personio. The two steps can be done by different people: a Personio admin creates the credential, and a Swarmia organization admin pastes it in.
Email on every employee. Swarmia matches Personio employees to Swarmia authors by email. Employees without an email won't sync, and their time off won't show up in Swarmia.
Create the API credential in Personio
In Personio, an API credential is a custom integration. You create one, give it read access to employees and time off, and copy the credentials it generates.
In Personio, go to Settings → Security & integrations → API credentials. This opens Marketplace → Connected integrations.
Click Create custom integration and name it Swarmia.
Under Configure access rights, tick Read for Employees and for Time Off. Leave everything else unticked.
Under Readable employee attributes, select Email, First name, and Last name.
Leave Readable legal entities empty.
Finish the wizard. On View credentials, copy Your client ID and Your API secret.
Connect Personio in Swarmia
Go to Settings → HR system.
In the Personio row, click Connect.
Paste the Client ID and API secret, then click Connect.
Swarmia validates the credential before saving it and stores the secret encrypted. The status flips to Connected and the initial sync starts in the background.
If Personio rejects the credential, Swarmia tells you what to fix:
The credential itself. The client ID and API secret don't match, or the credential is no longer active in Personio.
Access rights. The credential is missing Read access for Employees or Time Off.
Readable employee attributes. The credential doesn't return Email, First name, or Last name.
Fix the credential in Personio and connect again.
What Swarmia syncs
Time off
All time off from 2 years before you connected to 1 month ahead, refreshed every 24 hours.
Only approved time off counts. Pending and rejected absences don't, and an absence stops counting as soon as someone requests its deletion.
Deleted absences are removed. When an absence is deleted in Personio, it disappears from Swarmia on the next refresh. Edited dates update the existing absence.
Part-day absences count as a full day. A half day or a few hours off is stored as a whole day.
Offsite work doesn't count as time off. Absence types categorized as offsite work in Personio, such as working from home, are treated as working days.
Open-ended absences don't sync until an end date is set in Personio. They sync on the next daily refresh after you add one.
Apart from the offsite work category, Swarmia doesn't use the absence type. Vacation, sick leave, parental leave, and everything else are treated the same. Swarmia never reads balances, approvers, or comments on an absence.
Employee data
Email and name only. Swarmia uses them to match each Personio employee to a Swarmia author. They're read the first time an employee's time off syncs, so later changes in Personio don't carry over.
Swarmia doesn't read addresses, compensation, job details, employment status, org structure, or any other employee fields.
Where the data shows up
Developer effort metrics — approved time off reduces a person's available days, so effort scores reflect when people are actually working.
FTE counts — feed into investment balance and software capitalization reports.
Work log — time off appears when work log is grouped by author.
See Developer effort (FTEs) for how time off factors into the calculation.
Check the connection status
The HR system settings page shows the current status of the integration:
Connected — the integration is healthy and syncing.
Disabled — Personio stopped accepting the credential, so syncing has stopped.
If Personio rejects the credential during a sync, Swarmia waits an hour in case it's a temporary outage. If it's still rejected after that, Swarmia disables the integration and emails your Swarmia organization admins. The time off Swarmia already has stays as it is.
Rotate the credential
In Personio, open the integration, go to the API credentials tab, and click Reset Client ID & API Secret.
In Swarmia, click Reconnect in the Personio card and paste the new client ID and API secret.
The new credential replaces the old one, and syncing continues. Reconnecting the same way also fixes a disabled integration.
To stop syncing, open the integration's overflow menu in Personio under Marketplace → Connected integrations and click Disconnect integration. Swarmia disables the integration, and the time off it already has stays as it is.
Related
Upload time off data via CSV — alternative when a direct integration isn't an option.
Time off API — push time off into Swarmia programmatically.
Last updated
Was this helpful?