Lifecycle API
Get service line items
Organization-wide report for the date range.
GET
https://app.mindbill.org/partner/v2/reports/service-line-itemsOrganization-wide report for the date range. Activity is scoped to this partner and environment. Bill-scoped browser sessions are rejected.
Use this URL with a server API key or a browser session and its exact allowed Origin. Both credentials use the same request and response contract. See the component API inventory for exact paths and SDK methods.
Query parameters
FieldTypeDescription
fromstringInclusive date (YYYY-MM-DD). Omit for the default report window.
tostringInclusive date (YYYY-MM-DD). Omit for the default report window.
Examples
curl 'https://app.mindbill.org/partner/v2/reports/service-line-items' \
--request GET \
--header "Authorization: Bearer $MINDBILL_API_KEY"curl 'https://app.mindbill.org/partner/v2/reports/service-line-items' \
--request GET \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example'Response
200
Response fields are documented below.FieldTypeDescription
dataRequiredobjectdata
data.fromstringfrom
data.tostringto
data.windowLabelstringwindowLabel
data.cptRowsobject[]cptRows
data.billRowsobject[]billRows
data.flatobject[]flat
data.totalBillsnumbertotalBills
data.totalLinesnumbertotalLines
data.totalBillednumbertotalBilled