Clickwise Links API

The Links API from Clickwise — 2 operation(s) for links.

GitHub OpenAPI

Operations 3

POST /links/batch/ Create up to 50 links; each item reports its own status #

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/clickwise-net:clickwise-net-links-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

clickwise-net-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clickwise Net Links API
  version: '1.1'
  contact:
    name: Clickwise integrations
    email: partnerships@clickwise.net
  description: 'Operations tagged Links across 2 of this provider''s published API definitions: clickwise-net-publisher-openapi.json, clickwise-net-publisher-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://partners.clickwise.net/api/v1/publisher
security:
- ApiKeyHeader: []
- BearerKey: []
tags:
- name: Links
paths:
  /links/:
    get:
      operationId: listLinks
      summary: Your tracking links
      tags:
      - Links
      parameters:
      - name: subid
        in: query
        required: false
        schema:
          type: string
        description: Exact sub-ID.
      - name: campaign_id
        in: query
        required: false
        schema:
          type: string
        description: Campaign id.
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
        description: Page number.
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
        description: Rows per page.
      responses:
        '200':
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Page'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Link'
        '400':
          $ref: '#/components/responses/E400'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '429':
          $ref: '#/components/responses/E429'
        '503':
          $ref: '#/components/responses/E503'
    post:
      operationId: createLink
      summary: Create or return one tracking link
      tags:
      - Links
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          maxLength: 255
        description: Replays the first response for 24 h when retried with the same body; a different body under the same key is 409.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkRequest'
            example:
              campaign_id: 123
              subid: homepage_banner
              landing_url: https://merchant.example/p/1
      responses:
        '200':
          description: Existing link
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Link'
        '201':
          description: Created
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Link'
        '400':
          $ref: '#/components/responses/E400'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '429':
          $ref: '#/components/responses/E429'
        '503':
          $ref: '#/components/responses/E503'
        '404':
          $ref: '#/components/responses/E404'
        '409':
          $ref: '#/components/responses/E409'
    servers:
    - url: https://partners.clickwise.net/api/v1/publisher
  /links/batch/:
    post:
      operationId: createLinksBatch
      summary: Create up to 50 links; each item reports its own status
      tags:
      - Links
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          maxLength: 255
        description: Replays the first response for 24 h when retried with the same body; a different body under the same key is 409.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - links
              properties:
                links:
                  type: array
                  minItems: 1
                  maxItems: 50
                  items:
                    $ref: '#/components/schemas/LinkRequest'
            example:
              links:
              - campaign_id: 123
                subid: post_1
              - program_id: 456
                subid: post_2
      responses:
        '200':
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkBatchResult'
        '400':
          $ref: '#/components/responses/E400'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '429':
          $ref: '#/components/responses/E429'
        '503':
          $ref: '#/components/responses/E503'
        '409':
          $ref: '#/components/responses/E409'
    servers:
    - url: https://partners.clickwise.net/api/v1/publisher
components:
  responses:
    E400:
      description: Invalid request
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E429:
      description: Rate limit; wait Retry-After seconds
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E404:
      description: Not found for this account
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E409:
      description: Idempotency-Key reused with a different body
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E403:
      description: Not allowed for this key or account
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E401:
      description: Missing or invalid key
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E503:
      description: Temporary failure or a query over its time budget; on 503, retry once after Retry-After
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E503_2:
      description: Temporary dependency failure; retry with backoff
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    Retry-After:
      schema:
        type: integer
      description: Seconds to wait.
    RateLimit-Limit:
      schema:
        type: integer
      description: Requests allowed per window.
    RateLimit-Remaining:
      schema:
        type: integer
      description: Requests left in this window.
    RateLimit-Reset:
      schema:
        type: integer
      description: Seconds until the window resets.
    X-Request-Id:
      schema:
        type: string
      description: Echoes a valid X-Request-Id, else generated.
    RateLimit-Policy:
      schema:
        type: string
      description: For example 120;w=60.
  schemas:
    Error:
      type: object
      required:
      - detail
      - error
      properties:
        detail:
          description: Human-readable message (kept for existing clients).
        error:
          type: object
          required:
          - code
          - message
          - status
          - request_id
          properties:
            code:
              type: string
              examples:
              - not_authenticated
              - throttled
              - invalid_request
              - api_key_scope
              - idempotency_key_reused
            message:
              type: string
            status:
              type: integer
            request_id:
              type: string
              description: Also sent as X-Request-Id.
    Page:
      type: object
      properties:
        total:
          type: integer
        page:
          type: integer
        page_size:
          type: integer
        pages:
          type: integer
    LinkRequest:
      type: object
      properties:
        campaign_id:
          type:
          - string
          - integer
        program_id:
          type: integer
        subid:
          type: string
          maxLength: 100
        landing_url:
          type: string
          description: A page on the merchant's own domain.
    LinkBatchResult:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              status:
                type: integer
              link:
                $ref: '#/components/schemas/Link'
              error:
                $ref: '#/components/schemas/Error/properties/error'
        created:
          type: integer
        existing:
          type: integer
        failed:
          type: integer
    Link:
      type: object
      additionalProperties: true
      properties:
        created:
          type: boolean
        deeplink_id:
          type: string
        cw_link:
          type: string
          format: uri
          description: The link to publish.
        destination_link:
          type: string
        subid:
          type: string
        certified_tracking_link:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    BearerKey:
      type: http
      scheme: bearer
      description: The same publisher API key.
x-refined-from:
- clickwise-net-publisher-openapi.json
- clickwise-net-publisher-openapi.yml
x-servers-source: https://partners.clickwise.net/llms.txt