GET
Requires
readscopeReturns SyncStatusWhich directory the client is connected to, when it last synced, and whether the last run failed.
Path parameters
client_idstringRequiredClient id (the client's INFIMA id).
curl "https://app.infimasecapis.com/v2/clients/3f2a9c1e-7b44-5d2e-9a1f-0c6d8e4b2a10/sync" \
-H "X-API-Key: $INFIMA_API_KEY"Response objectSyncStatus
client_idstringconfiguredbooleanproviderstringNullableOne of
microsoftgoogleenabledbooleanlast_run_atstring (date-time)NullableWhen the last successful sync finished. Null if no sync has succeeded yet; a failed run has no recorded time, so check last_run_status and last_error.
last_run_statusstringNullableOne of
succeededfailedlast_errorstringNullablegroups_syncedintegerusers_syncedinteger