# /distributors/export - Export distributors to CSV or PDF **GET /distributors/export** Export distributors to CSV or PDF format with applied filters (max 10,000 distributors) ## Servers - Backend API server (port 8080): https://api.your-domain.com/api (Backend API server (port 8080)) - Collect API server (port 8081): https://collect.your-domain.com/api (Collect API server (port 8081)) ## Authentication methods - Bearer auth ## Parameters ### Query parameters - **format** (string) Export format (csv or pdf) - **search** (string) Search term - **sort_by** (string) Field to sort distributors by - **sort_direction** (string) Sort direction ## Responses ### 200 Distributors exported successfully #### Body: text/csv (string(binary)) string(binary) ### 400 Bad request - validation error #### Body: application/json (object) - **code** (integer) HTTP error code - **message** (string) Error message - **data** (object) ### 401 Unauthorized - invalid or missing token #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 403 Forbidden - insufficient permissions #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) [Powered by Bump.sh](https://bump.sh)