---
title: "Sync with data source"
method: GET
path: "/v3/connectors/{connectorName}/update"
tags: ["connectors"]
---

# Sync with data source

`GET /v3/connectors/{connectorName}/update`

## Request

- Base URL: `https://app.quantimo.do/api`
- URL: `https://app.quantimo.do/api/v3/connectors/{connectorName}/update`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://app.quantimo.do/api/v1/oauth/authorize`
    - Token URL: `https://app.quantimo.do/api/v1/oauth/token` scopes: `basic`
- TypeScript: <https://skmtc.dev/quantimo/apis/curedao-unified-health-api/docs/v3/connectors/:connectorName/update/get.ts> (a function with typed inputs; its response is checked against the schema)

The update method tells the QM Connector Framework to check with the data provider (such as Fitbit or MyFitnessPal) and retrieve any new measurements available.

## Path parameters

- `connectorName` 'facebook' | 'fitbit' | 'github' | 'googlecalendar' | 'googlefit' | 'medhelper' | 'mint' | 'moodpanda' | 'moodscope' | 'myfitnesspal' | 'mynetdiary' | 'netatmo' | 'rescuetime' | 'runkeeper' | 'slack' | 'sleepcloud' | 'slice' | 'up' | 'whatpulse' | 'withings' | 'worldweatheronline' | 'foursquare' | 'strava' | 'gmail', required

## Query parameters

- `userId` number

## Response `200`

Connection Successful

## Other responses

- `401`: Not Authenticated
- `404`: Method not found. Could not execute the requested method.
- `500`: Error during update. Unsupported response from update().

---

[API](https://skmtc.dev/quantimo/apis/curedao-unified-health-api.md) - [All operations](https://skmtc.dev/quantimo/apis/curedao-unified-health-api/llms.txt) - [OpenAPI document](https://skmtc.dev/quantimo/apis/curedao-unified-health-api/revisions/7ac03025c3d2?raw)
