# Create Synchronous Export (Legacy) **POST /api/v1/exports/sync** Immediately generates and returns an export file (JSON or CSV) containing chat data. Use async export for large datasets. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) Export parameters (format, type) - **format** (string) - **type** (string) ## Responses ### 200 Export file (JSON or CSV) #### Body: application/json (file) file ### 400 Invalid request data (format/type) #### Body: application/json (object) - ***** (string) ### 401 Unauthorized (JWT invalid/missing or Org ID not found) #### Body: application/json (object) - ***** (string) ### 500 Failed to retrieve data or generate export #### Body: application/json (object) - ***** (string) [Powered by Bump.sh](https://bump.sh)