Admin

Trigger Strava sync

POST https://api.rewind.rest/v1/admin/sync/running

Manually trigger a Strava activities sync (all sport types). Pass full=true to ignore the incremental cursor and re-walk the entire activity history.

Authorization

Authorizationheaderstringrequired

API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.

Query Parameters

fullqueryenum (string)

Ignore the incremental cursor and re-walk the entire Strava history (after=1). Already-imported activities are skipped before the per-activity detail fetch, so a re-walk costs roughly one list call per 200 existing activities. Needed once after the run-only filter removal: non-run activities older than the cursor were paged past and never stored.

Allowed values01truefalse

Response

application/json

Sync completed successfully

statusenum (string)required
Allowed valuescompleted
items_syncedintegerrequired
timestampstring
geocodedinteger

Running only: activities reverse-geocoded in this call (bounded batch).

geocode_remaininginteger

Running only: activities with coordinates still awaiting geocoding. Call again to drain.