Skip to content

armgit / posta

Public Imported from GitHub
0

Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.

226 B
Raw Blame
import api from './client'
import type { ApiResponse, DashboardStats } from './types'

export const dashboardApi = {
  getStats() {
    return api.get<ApiResponse<DashboardStats>>('/workspaces/current/dashboard/stats')
  },
}