Get sync states for integration
Get all sync states for a specific integration (by provider and merchant).
Related endpoints
PUT /sync-state/{source}/{merchantId}/{resourceType}— Update sync state
Common errors
401 unauthenticated— missing, malformed, or revoked API key.403 permission_denied— key lacks the required scope, or the resource belongs to a different merchant.
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
source*string
Integration source (e.g., practicehub, wodify)
merchantId*string
Merchant ID
Format
uuidResponse 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/sync-state/practicehub/00000000-0000-0000-0000-000000000000" \
-H "x-api-key: $REVKEEN_API_KEY"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea",
"provider": "string",
"resource_type": "string",
"last_sync_at": "2019-08-24T14:15:22Z",
"last_sync_status": "idle",
"last_sync_error": "string",
"cursor": "string",
"items_synced": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}{
"error": "Unauthorized"
}{
"error": "Forbidden"
}