Skip to main content
Answered

Personio API being slow

  • February 21, 2023
  • 2 replies
  • 126 views

I’m trying to sync Personio employee data with a third party tool. I’m using the code example provided in api docs:

const sdk = require('api')('@personio/v1.0#1fzp...');

sdk.auth('eyJ0eX…');
sdk.getCompanyEmployees({limit: '100', offset: '0'})

Doing auth-get on a loop, until I fetch all the data. 

When using page size of a 100, each request to getCompanyEmployees takes 20-30 seconds. 
If I reduce limit to 10, request times range from 3 to 13 seconds. Leaning towards the lower end. 

Is this expected? Are there any best practices to follow, to speedup getting the data?

Best answer by Ale Lorefice

Hi @ignasv!

I’m Ale, a developer from Performance & Development product. I think you will get better support at the developer hub discussions section as there they take care of covering technical questions specially around our public API and here we focus more on the P&D add-on product related topics. Please ask your question over there. 🙏🏼

Have a nice day!

Ale.

2 replies

Ale Lorefice
Personio Employee
Forum|alt.badge.img
  • Personio Employee
  • Answer
  • February 22, 2023

Hi @ignasv!

I’m Ale, a developer from Performance & Development product. I think you will get better support at the developer hub discussions section as there they take care of covering technical questions specially around our public API and here we focus more on the P&D add-on product related topics. Please ask your question over there. 🙏🏼

Have a nice day!

Ale.


  • Author
  • Getting Started
  • February 22, 2023

Thanks. Re-posted on the right forum.