Discussions

Ask a Question
Back to all

Optimizing API Calls: Best Practice for Batching User Log-Ins?

Hey Connecteam Developers,

We're currently integrating our application with the Connecteam API, and we're running into a performance bottleneck during our initial user synchronization process.

We have a scenario where we need to log in/authenticate several hundred existing users (imported from a legacy system) simultaneously upon first sync so they can access their data correctly. Using individual POST /login requests for each user is causing significant latency and hitting rate limits very quickly.

What is the recommended best practice for handling bulk user authentication or log-in synchronization? Is there an existing batch API endpoint we should be using, or should we implement a token-based handshake to pre-authenticate users and bypass the standard login flow for this initial setup phase?

Any guidance on how high-volume integrations typically handle this would be greatly appreciated!

ragdoll hit