Lifecycle API

Get service line items

Organization-wide report for the date range.

GEThttps://app.mindbill.org/partner/v2/reports/service-line-items

Organization-wide report for the date range. Activity is scoped to this partner and environment. Bill-scoped browser sessions are rejected.

AuthenticationServer API key or browser session + Origin
Permissions by credentialServer: bills:read · Browser: bills:read
IdempotencyNot required

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
from
string

Inclusive date (YYYY-MM-DD). Omit for the default report window.

to
string

Inclusive date (YYYY-MM-DD). Omit for the default report window.

Examples

Request
curl 'https://app.mindbill.org/partner/v2/reports/service-line-items' \
  --request GET \
  --header "Authorization: Bearer $MINDBILL_API_KEY"
Request
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
Response fields are documented below.
FieldTypeDescription
dataRequired
object

data

data.from
string

from

data.to
string

to

data.windowLabel
string

windowLabel

data.cptRows
object[]

cptRows

data.billRows
object[]

billRows

data.flat
object[]

flat

data.totalBills
number

totalBills

data.totalLines
number

totalLines

data.totalBilled
number

totalBilled