How to export all users for all of our connections?

I’m currently getting all of our company users(for all connections) via GET /api/v2/users endpoint, but just hit the limitation of 1000 users. I’m now looking at how to get them via users export job on POST /api/v2/jobs/users-exports endpoint. Here I need to provide connection_id in the request body and will receive the list of users for that connection ONLY. I still need all of our users for all of the connections. Is there any way to get them via users export job?

The connection_id parameter is listed as optional in (Auth0 Management API v2) so you can omit which should then lead to the desired outcome of exporting all users across all connections.

3 Likes

Thanks, @jmangelo, looks like it is optional.

1 Like