{"name":"Email Preview API","version":"1.0.0","description":"API for retrieving Agillic email previews on demand","endpoints":{"GET /api/email-preview":"Get email preview by personNumber and communicationId (optional timestamp for date filtering)","POST /api/email-preview/batch":"Get multiple email previews in batch (supports timestamp per request)","GET /api/email-preview/html":"Get only HTML content for Power BI embedding (optional timestamp)","GET /api/health":"Health check"},"usage":{"single":"/api/email-preview?personNumber=123456&communicationId=abc123","singleWithTimestamp":"/api/email-preview?personNumber=123456&communicationId=abc123&timestamp=2024-01-15T10:00:00Z","html":"/api/email-preview/html?personNumber=123456&communicationId=abc123","batch":"POST /api/email-preview/batch with JSON body"},"parameters":{"timestamp":"Optional ISO timestamp - when provided, searches for communications within ±1 day of the timestamp"}}