Save report snapshots
Submits operational and financial metrics for a facility during a specific period.
Parameters
-
snapshots
arrayrequiredArray of Report Snapshot objects to save. Maximum 25 items per request. Each item must include either
facility_id(required if not usinglinking_identifier) orlinking_identifier(required if not usingfacility_id).
Returns
Returns a simple message confirming the sync operation.
Request
curl -X POST https://partner-api.performancehub.co/partner/v1/report-snapshots \
-u sk_live_YOUR_PARTNER_SECRET_KEY: \
-H "Content-Type: application/json" \
-d '{
"snapshots": [
{
"facility_id": "550e8400-e29b-41d4-a716-446655440000",
// "linking_identifier": "branch_downtown", // If using linking identifier
"start_date": "2025-01-01",
"end_date": "2025-01-31",
"metrics": {
"members": {
"active": 1200,
"new": 45,
"cancelled": 12
},
"revenue": {
"total_payments": 289000.00,
"currency": "AUD"
}
}
}
]
}'
Response
{
"message": "Report snapshot sync successful."
}