Coach Watts Referrals API

The Referrals API from Coach Watts — 3 operation(s) for referrals.

GitHub OpenAPI

Operations 3

POST /api/referrals/claim Claim pending athlete referral attribution #
GET /api/referrals/me Get my athlete referral share link #
POST /api/referrals/me/regenerate Regenerate my athlete referral code #

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/coachwatts-com:coachwatts-com-referrals-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

coachwatts-com-referrals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coachwatts Com Referrals API
  version: 0.5.25
  description: 'Operations tagged Referrals across 2 of this provider''s published API definitions: coachwatts-com-openapi.json, coachwatts-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://coachwatts.com
  description: Local Development Server
  variables: {}
tags:
- name: Referrals
paths:
  /api/referrals/claim:
    post:
      tags:
      - Referrals
      parameters: []
      responses:
        '200':
          description: Claim attempt result
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - attributed
                    - already_attributed
                    - ignored
                  reason:
                    type: string
        '401':
          description: Unauthorized
      summary: Claim pending athlete referral attribution
      description: Attributes the current user to a referrer using the via cookie and/or request body. First-touch only; no rewards granted.
      operationId: postApiReferralsClaim
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/referrals/me:
    get:
      tags:
      - Referrals
      parameters:
      - in: query
        name: medium
        schema:
          type: string
          enum:
          - mobile_qr
          - web_share
          - link
        description: UTM medium baked into the share URL
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  shareUrl:
                    type: string
                  stats:
                    type: object
                    properties:
                      attributedCount:
                        type: integer
        '401':
          description: Unauthorized
      summary: Get my athlete referral share link
      description: Returns the authenticated athlete’s stable referral code and share URL. Lazily mints a code on first fetch.
      operationId: getApiReferralsMe
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/referrals/me/regenerate:
    post:
      tags:
      - Referrals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  shareUrl:
                    type: string
                  stats:
                    type: object
                    properties:
                      attributedCount:
                        type: integer
        '401':
          description: Unauthorized
      summary: Regenerate my athlete referral code
      description: Rotates the authenticated athlete’s referral code. Prior share links stop attributing new signups.
      operationId: postApiReferralsMeRegenerate
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
x-refined-from:
- coachwatts-com-openapi.json
- coachwatts-com-openapi.yml