Users

Export users

POST export

Endpoint

POST /api/v1/users/export

Parameters

Name Description
passcode required Admin passcode
by_id Users ids to export

Request

Route

POST /api/v1/users/export

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTQ5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDgxLCJleHAiOjE3NjM1NDI0ODEsImp0aSI6Ijg5OTljNGVhLWViZWUtNDg2NS05Y2UxLWZlOTAxNmMxMzdlZSJ9.nDRigfp39OCSdJVQUEjiwgbRtCjLl_xTZPS1tOSD878
Host: example.org
Cookie: 

Body

{
  "passcode": 1234,
  "by_id": [
    1944,
    1945,
    1946,
    1947,
    1948
  ]
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: text/csv
content-disposition: attachment; filename="users-report-2025-10-20.csv"; filename*=UTF-8''users-report-2025-10-20.csv
content-transfer-encoding: binary
vary: Accept, Origin
etag: W/"5b741106200433e04a3112b2f54a36a0"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5ad81884-d669-4478-bdb9-91c3f0758d88
x-runtime: 0.007398
content-length: 401

Body

id,email,first_name,last_name,postcode,licenses,english_level,region,birth_date,start_date,contact_phone_number
1944,theodore.macejkovic+10@example.com,Theodore,Macejkovic,,,,,,,
1945,verona.gleason+10@example.com,Verona,Gleason,,,,,,,
1946,rupert.abbott+10@example.com,Rupert,Abbott,,,,,,,
1947,celsa.kuhic+10@example.com,Celsa,Kuhic,,,,,,,
1948,dante.daugherty+10@example.com,Dante,Daugherty,,,,,,,