GuideLab API

Get Cashflow

Return bounded monthly cash receipts, refunds, expenses, and net cash in the lab reporting currency.

GET
/finances/cashflow

Return bounded monthly cash receipts, refunds, expenses, and net cash in the lab reporting currency.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

period?string
Default"7m"

Value in

  • "7m"
  • "12m"
  • "ytd"

Response Body

application/json

application/json

curl -X GET "https://example.com/finances/cashflow"
{  "period": "7m",  "currency": "string",  "from": "string",  "to": "string",  "points": [    {      "month": "string",      "receipts": "string",      "refunds": "string",      "expenses": "string",      "net": "string"    }  ],  "totals": {    "receipts": "string",    "refunds": "string",    "expenses": "string",    "net": "string"  }}
{  "error": "string",  "code": "ORGANIZATION_CONFIGURATION_INVALID"}