Discussions

Ask a Question
Back to All

Get company domain from the API

Hi,

I'm using the Personio API to log absences and attendances and I would need the domain of my company so I can let users open the attendance page from my app. For example, after a user logged an attendance, they want to see if it's logged correctly so I offer them a link they can open, which should look like this:
https://{company}.personio.de/attendance/employee/{employeeId}/2023-07
I have the employeeId, but how can I get the company?