Get resource-level sync states
Return the cursor and last-sync timestamp for every resource type the integration tracks (patients / customers, invoices, products, payments, etc.). Used by the sync dashboard to surface which resource classes are up to date and which are lagging.
Related endpoints
POST /integrations/{provider}/activate— Activate integrationPOST /integrations/{provider}/deactivate— Deactivate integrationGET /integrations/{provider}— Get integration statusPOST /integrations/{provider}/test— Test integration credentialsPOST /integrations/{provider}/sync— Trigger manual syncGET /integrations— List all integrationsPUT /integrations/{provider}/status— Update integration statusPUT /integrations/{provider}/sync-toggle— Toggle integration sync
Common errors
401 unauthenticated— missing, malformed, or revoked API key.
Pagination
Offset-based with limit (default 25, max 100) and offset. The response pagination block includes total and hasMore. See the pagination guide for SDK auto-paging helpers.
x-api-key<token>
Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.
In: header
Path Parameters
provider*string
Legacy configurable integration provider (practicehub, wodify, terminal).
Value in
"practicehub" | "wodify" | "terminal"Response Body
application/json
application/json
application/json
Stuck on an error response? Ask the RevKeen assistant to explain it.
curl "https://api.revkeen.com/v2/integrations/practicehub/sync-states" \
-H "x-api-key: $REVKEEN_API_KEY"{
"success": true,
"data": [
{
"resource_type": "string",
"last_sync_at": "2019-08-24T14:15:22Z",
"last_sync_status": "string",
"items_processed": 0,
"last_sync_error": "string",
"cursor": "string"
}
]
}{
"error": "Unauthorized"
}{
"error": "Internal server error"
}