The Bridge Tracking API

The tracking API from The Bridge — 6 operation(s) for tracking.

GitHub OpenAPI

Operations 8

POST /tracking/attribution Tracking controller store attribution[0] #
POST /v1/tracking/attribution Tracking controller store attribution[1] v1 #
POST /tracking/pixel-event-fired Clears a single pending pixel event from the tenant's metadata. #
POST /v1/tracking/pixel-event-fired Clears a single pending pixel event from the tenant's metadata. #
GET /tracking/self-report TBP-891 — state of the one-time "code + how did you first hear about us" card… #
POST /tracking/self-report TBP-891 — record the card's answer (or a skip) on the signed-in user's own… #
GET /v1/tracking/self-report TBP-891 — state of the one-time "code + how did you first hear about us" card… #
POST /v1/tracking/self-report TBP-891 — record the card's answer (or a skip) on the signed-in user's own… #

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/thebridge-dev:thebridge-dev-tracking-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

thebridge-dev-tracking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bridge Tracking API
  description: 'Bridge Platform REST API. GraphQL: see /graphql playground.'
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Tracking
paths:
  /tracking/attribution:
    post:
      operationId: TrackingController_storeAttribution[0]
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreAttributionDto'
      responses:
        '200':
          description: ''
      tags:
      - Tracking
      summary: Tracking controller store attribution[0]
      x-summary-source: derived
  /v1/tracking/attribution:
    post:
      operationId: TrackingController_storeAttribution[1]_v1
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreAttributionDto'
      responses:
        '200':
          description: ''
      tags:
      - Tracking
      summary: Tracking controller store attribution[1] v1
      x-summary-source: derived
  /tracking/pixel-event-fired:
    post:
      operationId: TrackingController_clearPendingPixelEvent[0]
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClearPendingPixelEventDto'
      responses:
        '200':
          description: ''
      summary: Clears a single pending pixel event from the tenant's metadata.
      tags:
      - Tracking
  /v1/tracking/pixel-event-fired:
    post:
      operationId: TrackingController_clearPendingPixelEvent[1]_v1
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClearPendingPixelEventDto'
      responses:
        '200':
          description: ''
      summary: Clears a single pending pixel event from the tenant's metadata.
      tags:
      - Tracking
  /tracking/self-report:
    get:
      operationId: TrackingController_getSelfReport[0]
      parameters: []
      responses:
        '200':
          description: ''
      summary: TBP-891 — state of the one-time "code + how did you first hear about us" card…
      tags:
      - Tracking
    post:
      operationId: TrackingController_storeSelfReport[0]
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelfReportDto'
      responses:
        '200':
          description: ''
      summary: TBP-891 — record the card's answer (or a skip) on the signed-in user's own…
      tags:
      - Tracking
  /v1/tracking/self-report:
    get:
      operationId: TrackingController_getSelfReport[1]_v1
      parameters: []
      responses:
        '200':
          description: ''
      summary: TBP-891 — state of the one-time "code + how did you first hear about us" card…
      tags:
      - Tracking
    post:
      operationId: TrackingController_storeSelfReport[1]_v1
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelfReportDto'
      responses:
        '200':
          description: ''
      summary: TBP-891 — record the card's answer (or a skip) on the signed-in user's own…
      tags:
      - Tracking
components:
  schemas:
    AttributionTouchDto:
      type: object
      properties:
        capture:
          type: string
          enum:
          - utm
          - referrer
          - direct
          - unknown
        rdt_cid:
          type: string
          maxLength: 512
        utm_source:
          type: string
          maxLength: 512
        utm_medium:
          type: string
          maxLength: 512
        utm_campaign:
          type: string
          maxLength: 512
        utm_content:
          type: string
          maxLength: 512
        utm_term:
          type: string
          maxLength: 512
        gclid:
          type: string
          maxLength: 512
        fbclid:
          type: string
          maxLength: 512
        li_fat_id:
          type: string
          maxLength: 512
        ref:
          type: string
          description: TBP-891 — the content code from a short link (`ref=CODE7`, TBP-894).
          maxLength: 64
        landing_path:
          type: string
          description: TBP-746 — first page of the visit on the marketing site (path only).
          maxLength: 512
        referrer_host:
          type: string
          description: TBP-746 — host of the external referrer, never the full URL.
          maxLength: 255
    SelfReportDto:
      type: object
      properties:
        choice:
          type: string
          description: 'The answer: one of SELF_REPORT_CHOICES.'
          enum:
          - youtube
          - tiktok
          - instagram
          - linkedin
          - x
          - google
          - ai_assistant
          - mcp_directory
          - colleague
          - other
        text:
          type: string
          description: The optional follow-up ("Which video or post?").
          maxLength: 500
        chips:
          description: Quick-pick chips from the first card. Still stored when sent, until that card is replaced.
          maxItems: 10
          type: array
          items:
            type: string
            maxLength: 40
        code:
          type: string
          description: The first card's code field. Accepted so that card keeps working; never stored.
          maxLength: 64
        code_via:
          type: string
          enum:
          - url
          - onboarding
        skipped:
          type: boolean
          description: 'True when the person dismissed the card without answering. Reads the raw

            payload for the same reason as `marketing_consent`: implicit conversion

            would turn the string "false" into true.'
    StoreAttributionDto:
      type: object
      properties:
        email:
          type: string
          format: email
        capture:
          type: string
          description: 'TBP-474 — how the client obtained this record.


            `direct` and `unknown` are NOT interchangeable. `direct` means capture ran

            and found no channel, which is a real answer. `unknown` means capture

            could not run at all, which is a measurement failure. Collapsing them

            makes `direct` absorb every failure and then look like the strongest

            channel at exactly the moment a budget decision rests on it.'
          enum:
          - utm
          - referrer
          - direct
          - unknown
        marketing_consent:
          type: boolean
          description: 'Whether the visitor granted marketing consent.


            Gates the Reddit CAPI fire only — that sends a hashed email to a third

            party for advertising. Writing the tenant''s own attribution record is

            first-party processing and happens regardless, which is what keeps the

            measurement honest for people who refuse cookies.'
        rdt_cid:
          type: string
        utm_source:
          type: string
        utm_medium:
          type: string
        utm_campaign:
          type: string
        utm_content:
          type: string
        utm_term:
          type: string
        gclid:
          type: string
        fbclid:
          type: string
        li_fat_id:
          type: string
        ref:
          type: string
          description: 'TBP-891 — the content code from a short link (`ref=CODE7`, TBP-894). Never `code`: that is OAuth''s.'
          maxLength: 64
        landing_path:
          type: string
          description: TBP-746 — first page of the visit on the marketing site (path only).
          maxLength: 512
        referrer_host:
          type: string
          description: TBP-746 — host of the external referrer, never the full URL.
          maxLength: 255
        last_touch:
          description: 'TBP-746 — the latest touch, when the client saw a different one from the

            earliest (top-level fields). Stored in `metadata.attribution_last`, which

            is overwritten on every write; absent means "same as the top level".'
          allOf:
          - $ref: '#/components/schemas/AttributionTouchDto'
      required:
      - email
    ClearPendingPixelEventDto:
      type: object
      properties:
        email:
          type: string
          format: email
        event_type:
          type: string
          enum:
          - purchase
          - signup
          - lead
      required:
      - email
      - event_type
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
    x-app-id:
      type: apiKey
      in: header
      name: x-app-id