DashboardSupportWelcome

👤 USER DOCS

Getting Started

Daily Operations

Shift Workspace & TasksPre-Shift SetupLine-Up CardsShift ReportsForms

Staff & Locations

Staff SchedulingManaging Locations

Oversight

Manager ReportsAnalyticsPre-Shift & Compliance

Incidents & Feedback

Incident ReportingAnonymous FeedbackMessages & Announcements

AI & Settings

AI ChatgearApp Settings

Administration

Dashboard & OnboardingAdmin

⚙️ DEVELOPER DOCS

Getting Started

Getting StartedDevelopmentDeployment Guide

Architecture

Architecture OverviewData FlowArchitecture Decision Records

Core Domain

Core DomainDatabase ReferenceLocations DomainAuth & RBACScheduling DomainReports DomainIncidents DomainNotifications DomainAudit Log & OptimizationDesign Audit Findings

Frontend

Frontend ArchitectureFormsLoading SkeletonsComponentsPWA & NotificationsimageScreenshots

API Reference

API Reference

Endpoints

POS Sales APIOptimization Data APISchedule Shifts APIEmployee Export APIReports APIIncidents APIAI Chat APIPush Notifications APIWebhooks APICron API

Contributing

ContributingcodeCode Examples

Security

Security & Compliance
Danvas IconDanvas
Danvas IconDanvas

POS Sales API

Real-time sales data from Toast POS

Overview

The POS Sales API provides access to current sales metrics aggregated from Toast POS. This data is used by staff when filing shift reports to compare actual performance against goals.

Endpoint

GET /api/analytics/sales

Authentication

Requires an ANALYTICS_API_KEY via the Authorization: Bearer header.

Parameters

NameInTypeDescription
locationIdquerystringThe ID of the location to fetch sales for.
datequerystringISO date (YYYY-MM-DD).

Response

{
  "totalSales": 1250.50,
  "transactionCount": 45,
  "averageCheck": 27.78
}

Related

API Reference

Programmatic access to the Danvas platform

Optimization Data API

Labor optimization metrics and goals for schedule planning

On this page

OverviewEndpointAuthenticationParametersResponseRelated

Shift Reports Guide

Analytics Dashboard

API Overview