IntentLink Events API

The events API from IntentLink — 2 operation(s) for events.

GitHub OpenAPI

Operations 2

POST /api/v1/events Create Event #
POST /api/v1/events/click Report Click #

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/intentlink-io:intentlink-io-events-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

intentlink-io-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Affiliate Recommendation Service Events API
  version: 0.1.0
tags:
- name: Events
paths:
  /api/v1/events:
    post:
      tags:
      - Events
      summary: Create Event
      operationId: create_event_api_v1_events_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventAcceptedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/events/click:
    post:
      tags:
      - Events
      summary: Report Click
      description: Record a clicked URL and resolve its Agent attribution server-side.
      operationId: report_click_api_v1_events_click_post
      parameters:
      - name: X-Click-Report-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Click-Report-Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClickReportCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClickReportAcceptedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EventAcceptedResponse:
      properties:
        event_id:
          type: string
          title: Event Id
        accepted:
          type: boolean
          title: Accepted
          default: true
      type: object
      required:
      - event_id
      title: EventAcceptedResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ClickReportCreate:
      properties:
        url:
          type: string
          minLength: 1
          format: uri
          title: Url
          description: The URL the end user clicked.
        channel:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel
          default: web
        agent_session_id_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Session Id Hash
        end_user_id_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: End User Id Hash
        properties:
          additionalProperties: true
          type: object
          title: Properties
        occurred_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Occurred At
      type: object
      required:
      - url
      title: ClickReportCreate
    ClickReportAcceptedResponse:
      properties:
        event_id:
          type: string
          title: Event Id
        accepted:
          type: boolean
          title: Accepted
          default: true
        url:
          type: string
          minLength: 1
          format: uri
          title: Url
        attributed:
          type: boolean
          title: Attributed
        click_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Click Id
        attribution_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Attribution Id
        agent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Id
      type: object
      required:
      - event_id
      - url
      - attributed
      title: ClickReportAcceptedResponse
    EventType:
      type: string
      enum:
      - recommendation_shown
      - recommendation_clicked
      - coupon_copied
      - link_resolve_failed
      - conversion_synced
      title: EventType
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EventCreate:
      properties:
        event_type:
          $ref: '#/components/schemas/EventType'
        url:
          anyOf:
          - type: string
            minLength: 1
            format: uri
          - type: 'null'
          title: Url
          description: The URL the end user clicked.
        click_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Click Id
        request_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Request Id
        result_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Result Id
        attribution_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Attribution Id
        affiliate_link_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Affiliate Link Id
        agent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Id
        developer_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Developer Id
        developer_account_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Developer Account Id
        channel:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel
        agent_session_id_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Session Id Hash
        end_user_id_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: End User Id Hash
        properties:
          additionalProperties: true
          type: object
          title: Properties
        occurred_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Occurred At
      type: object
      required:
      - event_type
      title: EventCreate
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer