Discussions

Ask a Question
Back to All

Personio API pagination on time off is broken

Usually API returns offset and limit so you can start where you left off. When you limited your call to 200 rows, you get first 200 items and for next items you call from offset=200 onwards to 400 (if still with 200 limit). In "https://api.personio.de/v1/company/time-offs" offset seems to mean page not rows (or items as you prefer). This is wrong.