Browse the docs ▾

Reports API

Run a report for a period. GET /api/v1/reports/{type}.

Generated from the app's endpoint listView as Markdown

1 operation. Each needs an API key with the permission shown; see API keys and permissions.

OperationPermission
GET /api/v1/reports/{type}reports:read

#GET /api/v1/reports/{type}

A report for a period. hours, fills, coverage, credentials and fairness need Reports; payroll, invoice and margin need Pay and billing instead.

  • Permission: reports:read
  • Returns: one record: { data }, status 200

Path

NameDescription
typeOne of hours, fills, coverage, credentials, fairness, payroll, invoice, margin.

Query parameters (all optional)

NameDescription
fromFirst day, YYYY-MM-DD. Default: 30 days before to.
toLast day, YYYY-MM-DD. Default: today. At most 366 days after from.
rolefairness only: one role.

Fields in each record: type, period, …the report's own figures

curl "https://app.staffedly.com/api/v1/reports/hours?from=2027-01-01&to=2027-01-31" \
  -H "Authorization: Bearer $STAFFEDLY_API_KEY"

Something missing or wrong on this page? Email [email protected] or book a free call; our team sets up every new customer at no charge.