Dag Books API Docs
    • 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
      • Get public cover image with fallback
        GET
      • Get the favicon as a 256px link-preview icon
        GET
    • Books
      • List all books
        GET
      • Create a book
        POST
      • Get book details
        GET
      • Update a book
        PUT
      • Archive or permanently delete a book
        DELETE
      • Bulk upsert books
        POST
      • Reorder books
        PATCH
      • Restore an archived book
        POST
    • Files
      • List files for a book
      • Add a file (local upload or cloud link)
      • Upload or replace a file
      • Update file metadata
      • Delete a file
    • Translations
      • Add or update a translation
      • Delete a translation
    • Languages
      • List all languages
      • Create a language
      • Get language usage stats
      • Update a language
      • Delete a language
      • Get book visibility for a sub-language
      • Update book visibility for a sub-language
    • Channels
      • List distribution channels
      • Create a channel
      • Update a channel
      • Delete a channel
      • Get publication matrix
      • Toggle a publication
    • Contacts
      • List contacts (paginated)
      • Get contact details with download history
      • Export contacts as CSV
    • 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
    • Covers
      • List all covers across all active books
      • List covers for a specific book
      • Upload or replace a cover image
      • Delete a cover image
      • Get cover image binary (admin)
    • Schemas
      • Error
      • Pagination
      • PublicBook
      • AdminBook
      • BookDetail
      • BookFile
      • Translation
      • CoverMetadata
      • Language
      • Channel
      • ApiKey
      • SubLanguageBookOverride
      • Contact
      • DownloadEvent

    Contact

    {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "email": "user@example.com",
        "firstName": "string",
        "lastName": "string",
        "phone": "string",
        "country": "string",
        "firstDownloadAt": "2019-08-24T14:15:22.123Z",
        "lastDownloadAt": "2019-08-24T14:15:22.123Z",
        "totalDownloads": 0
    }
    Built with