DevelopersAPI reference

Dashboard API

REST endpoints for dashboard in ServFlo: 1 operations with parameters, request and response fields, permissions and curl examples.

Base URL: https://app.servflo.ai/api. Every call needs Authorization: Bearer sfk_… (Authentication); {organizationId} ($ORGANIZATION_ID in the examples) is your business's id.

OperationEndpointRisk
Dashboard figuresGET /organizations/{organizationId}/dashboardread

Dashboard figures

GET /organizations/{organizationId}/dashboard

Counts and money for the dashboard: today's and upcoming jobs, new requests, quotes awaiting approval, outstanding and overdue balances, payments collected this month and tips. Read-only. today is the business's date; it defaults to today in the organization's timezone.

Permissionreports.read (Owner, Admin, Dispatcher, Member)
Riskread, OAuth scope servflo.read. Read: reads only.
MCP tooldashboard_stats (toolset reports, in the default set)

Parameters

NameInTypeRequiredDescription
todayquerystringNoA calendar date in the business's own calendar, YYYY-MM-DD.

Example

curl "https://app.servflo.ai/api/organizations/$ORGANIZATION_ID/dashboard" \
  -H "Authorization: Bearer $SERVFLO_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
jobsintegerAll jobs.
customersinteger
techniciansintegerActive technicians.
serviceTypesinteger
todayJobsintegerVisits scheduled today (a job with two visits counts twice).
upcomingJobsintegerSCHEDULED or CONFIRMED jobs from today on.
completedJobsinteger
completedRevenueCentsintegerPrice of completed jobs, in integer cents.
invoicesOutstandingintegerSENT invoices.
invoicesOutstandingCentsintegerBalance still due on SENT invoices, in integer cents.
invoicesOverdueinteger
invoicesOverdueCentsintegerBalance still due on OVERDUE invoices, in integer cents.
paymentsCollectedCentsintegerPayments received, net of refunds, tips excluded, in integer cents.
paymentsThisMonthCentsintegerThe same for payments dated this calendar month up to today, in integer cents.
tipsThisMonthCentsintegerTips this month, in integer cents.
requestsNewintegerNEW requests.
quotesAwaitingApprovalintegerSENT quotes still within their date.
activeMembersintegerACTIVE memberships.
membershipMrrCentsintegerMonthly recurring revenue of active memberships, in integer cents.

On this page