---
title: "Export users"
method: GET
path: "/api/users/export"
tags: ["User Management"]
---

# Export users

`GET /api/users/export`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/users/export`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/users/export/get.ts> (a function with typed inputs; its response is checked against the schema)

Exports users to a CSV file with optional filtering.

## Query parameters

- `active` 0 | 1
- `order_by` string
- `order` 'asc' | 'desc'

## Response `200`

CSV file download

## Other responses

- `401`: Unauthenticated

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
