RevKeen Docs
Api reference

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 integration
  • POST /integrations/{provider}/deactivate — Deactivate integration
  • GET /integrations/{provider} — Get integration status
  • POST /integrations/{provider}/test — Test integration credentials
  • POST /integrations/{provider}/sync — Trigger manual sync
  • GET /integrations — List all integrations
  • PUT /integrations/{provider}/status — Update integration status
  • PUT /integrations/{provider}/sync-toggle — Toggle integration sync

Common errors

  • 401 unauthenticated — missing, malformed, or revoked API key.
GET
/integrations/{provider}/sync-states
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
Value in"practicehub" | "wodify" | "terminal"

Response Body

application/json

curl "https://api.revkeen.com/v2/integrations/practicehub/sync-states" \  -H "x-api-key: $REVKEEN_API_KEY"
{
  "success": true,
  "data": [
    {
      "resourceType": "string",
      "lastSyncAt": "2019-08-24T14:15:22Z",
      "lastSyncStatus": "string",
      "itemsProcessed": 0,
      "lastSyncError": "string",
      "cursor": "string"
    }
  ]
}
Empty
Empty