Gather all the fluxes for a given model Change how we grab fluxes depending on the model passed in

GET /api/v2/flux
application/json

Body Required

  • model_type string Required

    The model type. Can be: case, account and circle.

  • model_uuid string Required

    The model uuid

  • start_date date Required

    Filter them down by a choosing the start date. This will return all fluxes between the start and end date.

  • end_date date Required

    Filter them down by a choosing the end date.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
GET /api/v2/flux
curl \
 --request GET 'https://api.plannrcrm.com/api/v2/flux' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"model_type":"circle","model_uuid":"2103d653-1e4b-4a9c-b71e-72079e6fdbb8","start_date":"2025-06-16","end_date":"2025-06-23"}'
Request examples
{
  "model_type": "circle",
  "model_uuid": "2103d653-1e4b-4a9c-b71e-72079e6fdbb8",
  "start_date": "2025-06-16",
  "end_date": "2025-06-23"
}
Response examples (401)
{
  "message": "Unauthenticated."
}