1. Contacts
Flow Download Manager API
  • Public
    • Health check
      GET
    • List published books
      GET
    • Request a single book download
      POST
    • Request a bulk download (all books for a language)
      POST
    • Download a file via token
      GET
  • Books
    • List all books
      GET
    • Create a book
      POST
    • Get book details
      GET
    • Update a book
      PUT
    • Soft-delete a book
      DELETE
    • Bulk upsert books
      POST
    • Reorder books
      PATCH
  • Files
    • List files for a book
      GET
    • Add a file (local upload or cloud link)
      POST
    • Upload or replace a file
      PUT
    • Update file metadata
      PATCH
    • Delete a file
      DELETE
  • Translations
    • Add or update a translation
      POST
    • Delete a translation
      DELETE
  • Languages
    • List all languages
      GET
    • Create a language
      POST
    • Get language usage stats
      GET
    • Update a language
      PUT
    • Delete a language
      DELETE
  • Channels
    • List distribution channels
    • Create a channel
    • Update a channel
    • Delete a channel
    • Get publication matrix
    • Toggle a publication
  • Contacts
    • List contacts (paginated)
      GET
    • Get contact details with download history
      GET
    • Export contacts as CSV
      GET
  • Analytics
    • Dashboard summary
    • Downloads over time
    • Downloads by book
    • Downloads by country
    • Downloads by language
    • Downloads by device type
    • Download event log (paginated)
    • Export download events as CSV
  • Settings
    • Get app settings
    • Update GeoIP database
  • API Keys
    • List API keys
    • Create an API key
    • Revoke an API key
  • Schemas
    • Error
    • Pagination
    • PublicBook
    • AdminBook
    • BookDetail
    • BookFile
    • Translation
    • Language
    • Channel
    • ApiKey
    • Contact
    • DownloadEvent
  1. Contacts

Export contacts as CSV

GET
/api/admin/contacts/export/csv
Same filters as the contacts list endpoint.

Request

Authorization
API Key
Add parameter in cookie
next-auth.session-token
Example:
next-auth.session-token: ********************
or
Query Params

Responses

🟢200
text/csv
CSV file
Headers

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/admin/contacts/export/csv?search&country&city&languageId&startDate&endDate'
Response Response Example
200 - Success
first_name,last_name,email,phone,country,total_downloads,first_download_at,last_download_at
John,Doe,john@example.com,+1234567890,US,5,2026-02-15T10:30:00.000Z,2026-03-20T08:15:00.000Z
Modified at 2026-03-27 22:49:45
Previous
Get contact details with download history
Next
Dashboard summary
Built with