Problem statement
We want to export all our users from the POST /api/v2/jobs/users-exports endpoint. How do I tell that endpoint that I want all users? Should I just put like 99999999 in the limit field? What’s the most practical way to do that?
Solution
You can omit the “limit” parameter and all users will be exported, this is essentially how you tell the endpoint you want all users. You can just pass in a body like below to keep it simple:
{
"connection_id": "<your-connection-id>",
"format": "csv"
}
This will export all users and all fields.