UseClick API

UseClick API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 13

GET /api/analytics/bot-signatures List known bot user‑agent signatures #
POST /api/analytics/server-hit Report a server‑side hit for website analytics #
GET /api/v1/auth/verify Verify your API key is valid and get authentication status #
GET /api/v1/clicks Get click analytics for your links. #
POST /api/v1/links POST /api/v1/links #
POST /api/v1/links/{slug}/geo-targets Create a new geo-targeting rule for a link #
POST /secret-content POST /secret-content #
POST /v1/messages POST /v1/messages #

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/useclick-io:useclick-io-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

useclick-io-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: UseClick API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 13 operation(s) read from 10 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; UseClick has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 6
    documentation: 7
    pages-with-code: 7
    pages-read: 10
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://useclick.io/docs/api
  - https://useclick.io/compare/dub
  - https://useclick.io/docs/api-keys
  - https://useclick.io/docs/click-limit
  - https://useclick.io/compare/plausible
  - https://useclick.io/mcp
  - https://useclick.io/docs
  - https://useclick.io/de/mcp
  - https://useclick.io/docs/mcp
  - https://useclick.io/llms-full.txt
servers:
- url: https://useclick.io
paths:
  /api/analytics/bot-signatures:
    get:
      operationId: get_api_analytics_bot_signatures
      tags:
      - Api
      summary: List known bot user‑agent signatures
      x-source: https://useclick.io/llms-full.txt
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiAnalyticsBotSignaturesResponse'
      x-evidence:
        kind: documentation
  /api/analytics/server-hit:
    post:
      operationId: post_api_analytics_server_hit
      tags:
      - Api
      summary: Report a server‑side hit for website analytics
      x-source: https://useclick.io/llms-full.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiAnalyticsServerHitRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiAnalyticsServerHitResponse'
      x-evidence:
        kind: documentation
  /api/v1/auth/verify:
    get:
      operationId: get_api_v1_auth_verify
      tags:
      - Api
      summary: Verify your API key is valid and get authentication status
      x-source: https://useclick.io/docs/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1AuthVerifyResponse'
      x-evidence:
        kind: documentation
  /api/v1/clicks:
    get:
      operationId: get_api_v1_clicks
      tags:
      - Api
      summary: Get click analytics for your links.
      x-source: https://useclick.io/docs/api
      parameters:
      - name: link_slug
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ClicksResponse'
      x-evidence:
        kind: documentation
  /api/v1/links:
    get:
      operationId: get_api_v1_links
      tags:
      - Api
      summary: List all your links
      x-source: https://useclick.io/docs/api
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: search
        in: query
        required: false
        schema:
          type: string
      - name: campaign
        in: query
        required: false
        schema:
          type: string
      - name: folder
        in: query
        required: false
        schema:
          type: string
      - name: sort
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1LinksResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_links
      tags:
      - Api
      summary: POST /api/v1/links
      x-source: https://useclick.io/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1LinksRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1LinksResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl Works today Terminal The quickest way to confirm a new key works. Every endpoint follows this same shape. Terminal Copy\
          \ curl -X POST https://useclick.io/api/v1/links  -H \"Authorization: Bearer uc_live_YOUR_API_KEY\"  -H \"Content-Type: application/json\"\
          \  -d '{\n \"target_url\": \"https://example.com/summer-sale\",\n \"slug\": \"summer-sale\"\n }' JavaScript Works today JavaScript Works\
          \ in Node 18+ and in "
  /api/v1/links/{slug}:
    delete:
      operationId: delete_api_v1_links_slug
      tags:
      - Api
      summary: Delete a link (this also deletes all associated clicks)
      x-source: https://useclick.io/docs/api
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiV1LinksSlugResponse'
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_v1_links_slug
      tags:
      - Api
      summary: Get details of a specific link by slug
      x-source: https://useclick.io/docs/api
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1LinksSlugResponse'
      x-evidence:
        kind: documentation
  /api/v1/links/{slug}/geo-targets:
    delete:
      operationId: delete_api_v1_links_slug_geo_targets
      tags:
      - Api
      summary: Delete a geo-targeting rule for a specific country
      x-source: https://useclick.io/docs/api
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: country_code
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiV1LinksSlugGeoTargetsResponse'
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_v1_links_slug_geo_targets
      tags:
      - Api
      summary: Get all geo-targeting rules for a specific link
      x-source: https://useclick.io/docs/api
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1LinksSlugGeoTargetsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_links_slug_geo_targets
      tags:
      - Api
      summary: Create a new geo-targeting rule for a link
      x-source: https://useclick.io/docs/api
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1LinksSlugGeoTargetsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1LinksSlugGeoTargetsResponse'
      x-evidence:
        kind: documentation
  /secret-content:
    post:
      operationId: post_secret_content
      tags:
      - Secret Content
      summary: POST /secret-content
      x-source: https://useclick.io/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSecretContentRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostSecretContentResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl, etc.). Community-contributed SDKs may be available. Check our GitHub or documentation updates. Can I use the API to manage
          team members or billing? No. The current API focuses on link management and analytics. Team member management, billing, and account
          settings are only available through the web dashboard. What's the API version policy? The current API is version 1 ( /api/v1 ). We'll
          maint
  /v1/messages:
    post:
      operationId: post_v1_messages
      tags:
      - Messages
      summary: POST /v1/messages
      x-source: https://useclick.io/mcp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MessagesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.anthropic.com/v1/messages  -H \"content-type: application/json\"  -H \"x-api-key: $ANTHROPIC_API_KEY\"  -H\
          \ \"anthropic-version: 2023-06-01\"  -H \"anthropic-beta: mcp-client-2025-04-04\"  -d '{\n \"model\": \"claude-sonnet-4-5\",\n \"max_tokens\"\
          : 1024,\n \"messages\": [{\"role\": \"user\", \"content\": \"List my top links this week\"}],\n \"mcp_servers\": [\n {\n \"type\": \"\
          url\",\n \"url\": \"https://useclick.io/api/"
components:
  schemas:
    GetApiAnalyticsBotSignaturesResponse:
      type: object
      properties:
        signatures:
          type: array
          description: Array of strings representing bot user‑agent substrings
    PostApiAnalyticsServerHitRequest:
      type: object
      properties:
        site_id:
          type: string
          description: Identifier of the website being reported
        path:
          type: string
          description: Requested path on the site
        user_agent:
          type: string
          description: User‑Agent string of the request
        referrer:
          type: string
          description: Referrer URL, if any
        country:
          type: string
          description: Country code of the visitor
      required:
      - site_id
      - path
      - user_agent
    PostApiAnalyticsServerHitResponse:
      type: object
      properties:
        status:
          type: string
          description: Result of the hit recording
    GetApiV1AuthVerifyResponse:
      type: object
      properties:
        data:
          type: object
    GetApiV1ClicksResponse:
      type: object
      properties:
        data:
          type: array
    GetApiV1LinksResponse:
      type: object
      properties:
        data:
          type: array
        pagination:
          type: object
    PostApiV1LinksRequest:
      type: object
      properties:
        target_url:
          type: string
        slug:
          type: string
    PostApiV1LinksResponse:
      type: object
      properties:
        data:
          type: array
          items: {}
        pagination:
          type: object
          properties:
            page:
              type: integer
            limit:
              type: integer
            total:
              type: integer
            pages:
              type: integer
            has_next:
              type: boolean
            has_prev:
              type: boolean
    DeleteApiV1LinksSlugResponse:
      type: object
      properties:
        data:
          type: object
    GetApiV1LinksSlugResponse:
      type: object
      properties:
        data:
          type: object
    DeleteApiV1LinksSlugGeoTargetsResponse:
      type: object
      properties:
        data:
          type: object
    GetApiV1LinksSlugGeoTargetsResponse:
      type: object
      properties:
        data:
          type: array
    PostApiV1LinksSlugGeoTargetsRequest:
      type: object
      properties:
        country_code:
          type: string
        target_url:
          type: string
      required:
      - country_code
      - target_url
    PostApiV1LinksSlugGeoTargetsResponse:
      type: object
      properties:
        data:
          type: object
    PostSecretContentRequest:
      type: object
      properties:
        target_url:
          type: string
        slug:
          type: string
        password:
          type: string
    PostSecretContentResponse:
      type: object
      properties:
        Authorization:
          type: string
    PostV1MessagesRequest:
      type: object
      properties:
        model:
          type: string
        max_tokens:
          type: integer
        messages:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
              content:
                type: string
        mcp_servers:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              url:
                type: string
              name:
                type: string
              authorization_token:
                type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Messages
- name: Secret Content