SyncMetrics LLC Connector API

The Connector API from SyncMetrics LLC — 20 operation(s) for connector.

GitHub OpenAPI

Operations 20

GET /connector/{user_id}/meta-token Connector Meta Token #
GET /connector/{user_id}/tiktok-token Connector Tiktok Token #
GET /connector/{user_id}/tiktok-settings Connector Tiktok Settings #
GET /connector/{user_id}/shopify-token Connector Shopify Token #
GET /connector/{user_id}/shopify-settings Connector Shopify Settings #
GET /connector/{user_id}/settings Connector Settings #
GET /connector/{user_id}/accounts Connector Accounts #
GET /connector/{user_id}/facebook-page-settings Connector Fb Page Settings #
GET /connector/{user_id}/facebook-page-data Connector Fb Page Data #
GET /connector/{user_id}/facebook-page-token Connector Fb Page Token #
GET /connector/{user_id}/account-info Connector Account Info #
GET /connector/{user_id}/linkedin-settings Connector Linkedin Settings #
GET /connector/{user_id}/linkedin-data Connector Linkedin Data #
GET /connector/{user_id}/linkedin-token Connector Linkedin Token #
GET /connector/{user_id}/tiktok-organic-settings Connector Tiktok Organic Settings #
GET /connector/{user_id}/tiktok-organic-data Connector Tiktok Organic Data #
GET /connector/{user_id}/google-ads-settings Connector Google Ads Settings #
GET /connector/{user_id}/google-ads-data Connector Google Ads Data #
GET /connector/{user_id}/ga4-settings Connector Ga4 Settings #
GET /connector/{user_id}/ga4-data Connector Ga4 Data #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/syncmetrics-io:syncmetrics-io-connector-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

syncmetrics-io-connector-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Connector API
  version: 0.1.0
tags:
- name: Connector
paths:
  /connector/{user_id}/meta-token:
    get:
      summary: Connector Meta Token
      description: 'Return the decrypted Meta access token + selected account ID so the

        Looker Studio connector can call the Graph API directly.

        Response is cached client-side for 55 minutes.'
      operationId: connector_meta_token_connector__user_id__meta_token_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/tiktok-token:
    get:
      summary: Connector Tiktok Token
      description: 'Return the decrypted TikTok access token + selected advertiser ID so

        the TikTok Looker Studio connector can call the Business API directly.

        Response is cached client-side for 55 minutes.'
      operationId: connector_tiktok_token_connector__user_id__tiktok_token_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/tiktok-settings:
    get:
      summary: Connector Tiktok Settings
      description: Return plan and selected advertiser name for TikTok Looker Studio config display.
      operationId: connector_tiktok_settings_connector__user_id__tiktok_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/shopify-token:
    get:
      summary: Connector Shopify Token
      description: 'Return Shopify token + shop_domain so the Looker Studio connector

        can call the Shopify Admin API directly. Cached client-side for 55 min.'
      operationId: connector_shopify_token_connector__user_id__shopify_token_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/shopify-settings:
    get:
      summary: Connector Shopify Settings
      description: Return plan + shop name for Shopify Looker Studio config display.
      operationId: connector_shopify_settings_connector__user_id__shopify_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/settings:
    get:
      summary: Connector Settings
      description: 'Return plan + the full list of connected Meta accounts for the Looker

        Studio config screen (so getConfig can render a multi-account picker).'
      operationId: connector_settings_connector__user_id__settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/accounts:
    get:
      summary: Connector Accounts
      description: 'Return ALL the user''s connected/subscribed Meta ad accounts for the

        Looker Studio config screen (multi-account picker + getData loop).'
      operationId: connector_accounts_connector__user_id__accounts_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/facebook-page-settings:
    get:
      summary: Connector Fb Page Settings
      description: 'Config-screen data for the Facebook Page Looker connector: plan + the

        user''s connected pages (so getConfig can render a page picker).'
      operationId: connector_fb_page_settings_connector__user_id__facebook_page_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/facebook-page-data:
    get:
      summary: Connector Fb Page Data
      description: 'Row data for the Facebook Page Looker connector: recent posts with

        organic engagement. Optionally filtered to [start, end] (YYYY-MM-DD).

        page_id selects which connected page; omit to use the primary.'
      operationId: connector_fb_page_data_connector__user_id__facebook_page_data_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: page_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Page Id
      - name: start
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Start
      - name: end
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: End
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/facebook-page-token:
    get:
      summary: Connector Fb Page Token
      description: 'Return a single Page''s access token so the Looker connector can call the

        Meta Page Insights API directly. Subscription-gated: only returns a token

        for a Page the user has connected/subscribed. A Page token is scoped to

        that one Page (read-only), so this never exposes the user/ads token.'
      operationId: connector_fb_page_token_connector__user_id__facebook_page_token_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: page_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Page Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/account-info:
    get:
      summary: Connector Account Info
      description: 'Identity for the Looker connector config screen: the SyncMetrics account

        email + resolved (account-level) subscription plan. Lets getConfig show who

        the connection belongs to and warn when the Looker Studio user differs.'
      operationId: connector_account_info_connector__user_id__account_info_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/linkedin-settings:
    get:
      summary: Connector Linkedin Settings
      description: 'Config-screen data for the LinkedIn Ads Looker connector: plan + the

        user''s connected ad accounts (so getConfig can render an account picker).'
      operationId: connector_linkedin_settings_connector__user_id__linkedin_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/linkedin-data:
    get:
      summary: Connector Linkedin Data
      description: 'Row data for the LinkedIn Ads Looker connector: campaign performance for

        the selected account. Data-pattern — the server calls the LinkedIn API so the

        r_ads token (which spans all the user''s accounts) never leaves SyncMetrics.

        Subscription-gated: only subscribed accounts are queryable.'
      operationId: connector_linkedin_data_connector__user_id__linkedin_data_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: account_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Account Id
      - name: start
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Start
      - name: end
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: End
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/linkedin-token:
    get:
      summary: Connector Linkedin Token
      description: 'Return the decrypted LinkedIn access token + selected account (and all

        subscribed accounts) so the Looker Studio connector can call the LinkedIn

        Marketing API directly — same token-pattern as /meta-token. Includes the

        version headers the connector must send. Cache client-side ~50 min.


        NOTE: a LinkedIn r_ads token spans every account the user can access, so it

        is only handed to the (allowlisted) connector over HTTPS. The account list

        here is still restricted to the user''s subscribed accounts.'
      operationId: connector_linkedin_token_connector__user_id__linkedin_token_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/tiktok-organic-settings:
    get:
      summary: Connector Tiktok Organic Settings
      description: 'Config-screen data for the TikTok Organic (creator) Data Studio connector:

        plan + whether a TikTok creator account is connected + its profile summary.

        Organic uses TikTok Login Kit, which authorizes a SINGLE creator account, so

        there is no multi-account picker (unlike the ads connectors).'
      operationId: connector_tiktok_organic_settings_connector__user_id__tiktok_organic_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/tiktok-organic-data:
    get:
      summary: Connector Tiktok Organic Data
      description: 'Row data for the TikTok Organic Data Studio connector: recent public

        videos on the connected creator account with per-post engagement metrics.


        Data-pattern — the server calls TikTok (open.tiktokapis.com) with the stored

        Login Kit token so it never leaves SyncMetrics. TikTok''s video/list returns

        max 20 per call (newest first), so we page with the cursor up to `limit`

        posts. Data Studio applies the date-range filter client-side via posted_at.'
      operationId: connector_tiktok_organic_data_connector__user_id__tiktok_organic_data_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/google-ads-settings:
    get:
      summary: Connector Google Ads Settings
      description: 'Config-screen data for the Google Ads Data Studio connector: plan + the

        user''s subscribed Google Ads accounts (for the account picker).'
      operationId: connector_google_ads_settings_connector__user_id__google_ads_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/google-ads-data:
    get:
      summary: Connector Google Ads Data
      description: 'Row data for the Google Ads Data Studio connector: DAILY campaign

        performance for the selected account (or all subscribed accounts). The

        server runs the GAQL so the OAuth token never leaves SyncMetrics.

        Subscription-gated — only subscribed accounts are queryable.'
      operationId: connector_google_ads_data_connector__user_id__google_ads_data_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: account_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Account Id
      - name: start
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Start
      - name: end
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: End
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/ga4-settings:
    get:
      summary: Connector Ga4 Settings
      description: 'Config-screen data for the GA4 Data Studio connector: plan + the GA4

        properties the connected Google account can access (for the property

        picker). GA4 is property-based rather than ad-account based.'
      operationId: connector_ga4_settings_connector__user_id__ga4_settings_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
  /connector/{user_id}/ga4-data:
    get:
      summary: Connector Ga4 Data
      description: 'Row data for the GA4 Data Studio connector: a GA4 report for the

        requested dimensions + metrics (GA4 API names, comma-separated). The server

        calls the GA4 Data API with the stored token. GA4 has no ad-account model,

        so access is gated only on the SyncMetrics account being registered.'
      operationId: connector_ga4_data_connector__user_id__ga4_data_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: property_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Property Id
      - name: dimensions
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Dimensions
      - name: metrics
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Metrics
      - name: start
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Start
      - name: end
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: End
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 5000
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Connector
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError