Get all users via API

  • 4 August 2021
  • 9 replies

Hello everybody

I'd like to obtain the total users via REST API (cURL, for example). Now have this:


curl -s -X GET ""


it’s possible to obtain the results without limit? Actually have the following pages and results:


  "total_pages": 2179,
  "total_count": 21783


If I put the value limit to 1000000 appears this error because the process takes a long time and returns this:


<head><title>504 Gateway Time-out</title></head>

it’s possible to obtain the export CSV ( via command line?


Thanks in advance.

9 replies

Userlevel 4

CLI for XIQ? I never heard of it.

But if you want to export the users via GUI, check the below screen shot:


via GUI I can generate the CSV correctly but I need via cURL

Userlevel 4


curl -X GET ""

yes. It run correctly but I need all users. not only 10 .

Userlevel 4

So can’t we do

curl -X GET ""


no output.

Can I check any documentation about “page” and “limit” parameters? Maybe have any limitation.

If I put only “limit” command appears this:


<head><title>504 Gateway Time-out</title></head>
<center><h1>504 Gateway Time-out</h1></center>




Userlevel 4

Here is the documentation

Please note that the Work on API is still in progress. We are working on a new End-point web application to make API calls. The tentative date of it’s release is by the end of September.

ok. assuming I can retrieve all my 21783 users via API

Userlevel 4

Hopefully you can. If you can’t, then we will be in a position to test it out in lab and escalate it internally if required and that will require a GTAC case.

But for now, with very limited information available for the external users, I am not at a liberty to share any further details.

I hope the docs can help you to fix your problem for now.