REST endpoints for phone reports in ServFlo: 2 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.
GET /organizations/{organizationId}/phone/reports/tracking
Inbound calls between two days (the business's calendar) by source or by tracking number: calls, answered, missed, voicemails, first-time callers, booked (linked to a job or request, or a job created for the caller within 7 days), booked rate, average talk time and revenue (payments from the caller within 30 days, credited to their latest call before it). Optionally one business unit (none = no unit). Read-only.
GET /organizations/{organizationId}/phone/reports/receptionist
What the AI receptionist did between two days (the business's calendar): calls it answered, bookings it made, service requests it created, messages it took, calls it transferred to a person, calls that ended without a result (caller hung up, failed, timed out), and its minutes (each call rounded up). Also whether it is on (enabled, mode), the trial's AI-minute allowance when on a trial, and the latest AI-answered calls (recent, newest first; open one with GET /phone/calls/{callId}). Read-only.