Export users
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.eyJzdWIiOiIxOTcwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzU4MDEyNTE2LCJleHAiOjE3NjA2MDQ1MTYsImp0aSI6ImYzNDNlZmMwLWNlYzAtNGM4OS05OTFiLWZlODMwZTUxMDA0NSJ9.mdQ494AMKQCpGQXwvPs904MLdY-LDcobHZlqPs57LFw
Host: example.org
Cookie:
Body
{
"passcode": 1234,
"by_id": [
1965,
1966,
1967,
1968,
1969
]
}
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-09-16.csv"; filename*=UTF-8''users-report-2025-09-16.csv
content-transfer-encoding: binary
vary: Accept, Origin
etag: W/"3d1ee72b39333196b6d38f9bbfcf3180"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1cd54a09-562f-42a4-ace0-919e83284ce5
x-runtime: 0.008037
content-length: 399
Body
id,email,first_name,last_name,postcode,licenses,english_level,region,birth_date,start_date,contact_phone_number
1965,lory.considine+10@example.com,Lory,Considine,,,,,,,
1966,leslie.roob+10@example.com,Leslie,Roob,,,,,,,
1967,nobuko.monahan+10@example.com,Nobuko,Monahan,,,,,,,
1968,lili.rutherford+10@example.com,Lili,Rutherford,,,,,,,
1969,sammy.stoltenberg+10@example.com,Sammy,Stoltenberg,,,,,,,