True Fit Analytics API

Provide session information for more advanced reporting.

Operations 1

POST /analytics/tracking Send session information to True Fit for more advanced reporting #

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/true-fit-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

true-fit-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: True Fit - Consumer Analytics API
  description: These APIs can be used to create a custom True Fit integration.
  version: '3.0'
servers:
- url: /profile/public/v3/{tla}
tags:
- name: Analytics
  description: Provide session information for more advanced reporting.
paths:
  /analytics/tracking:
    post:
      tags:
      - Analytics
      summary: Send session information to True Fit for more advanced reporting
      parameters:
      - name: X-TF-UserToken
        in: header
        description: The session token for the current user.
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: locale
        in: query
        description: 'Identifier specifying the locale to use when retrieving suggested brands or any type of sizes e.g. sizes, bra sizes, inseams or sleeve lengths. This attribute is only required when the store supports multiple locales. Use an ISO 639 language code followed by an ISO 3166 country code, e.g. en_US. '
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: X-TF-StoreUserId
        in: header
        description: The store user id for the current user.
        required: false
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Tracking'
      responses:
        '201':
          description: Successfully logged
          headers:
            X-TF-UserToken:
              description: The updated token for the user. This updated token should be used on all following requests. This header is only present when the token has cycled.
              style: simple
              explode: false
              schema:
                type: string
            X-TF-UserTokenMaxAge:
              description: This will be most useful when storing the token as a cookie. The value is the suggested max age of the token (in seconds).
              style: simple
              explode: false
              schema:
                type: integer
      operationId: postAnalyticsTracking
      x-operation-id-source: derived
components:
  schemas:
    DeviceType:
      type: string
      enum:
      - desktop
      - mobile
    IntegrationPlatform:
      type: string
      enum:
      - web
      - app
    Tracking:
      type: object
      properties:
        referrerUri:
          type: string
          description: The URI of the page that linked to this page.
          example: www.google.com
        deviceType:
          $ref: '#/components/schemas/DeviceType'
        integrationPlatform:
          $ref: '#/components/schemas/IntegrationPlatform'
        widgetHidden:
          type: boolean
          description: True Fit A/B test group identifier. true if control group and false if True Fit group.
          example: false
        storeExperimentKey:
          type: string
          description: Identifier of any test group user is which the user is included.
          example: control
x-explorer-enabled: false