NudgeLink Events API

The events API from NudgeLink — 5 operation(s) for events.

GitHub OpenAPI

Operations 5

GET /api/v1/events/stream Stream #
POST /api/v1/events/unipile-webhook Unipile Webhook #
POST /api/v1/events/attribution Record Attribution #
POST /api/v1/events/activation Capture Activation Event #
POST /api/v1/events/site Record Site Events #

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/nudgelink-co:nudgelink-co-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. 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

nudgelink-co-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NudgeLink Events API
  version: 0.1.0
tags:
- name: Events
paths:
  /api/v1/events/stream:
    get:
      tags:
      - Events
      summary: Stream
      operationId: stream_api_v1_events_stream_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/events/unipile-webhook:
    post:
      tags:
      - Events
      summary: Unipile Webhook
      description: 'Receive LinkedIn inbound message notifications from Unipile.

        In dev the MockLinkedInAdapter drains its inbox via polling, not webhooks;

        this handler is for production.'
      operationId: unipile_webhook_api_v1_events_unipile_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
                title: Response Unipile Webhook Api V1 Events Unipile Webhook Post
  /api/v1/events/attribution:
    post:
      tags:
      - Events
      summary: Record Attribution
      description: 'First touch wins: an account that already has a source keeps it, and

        only a new account records one — an old customer browsing the site later

        is not a signup source.'
      operationId: record_attribution_api_v1_events_attribution_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttributionIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: boolean
                type: object
                title: Response Record Attribution Api V1 Events Attribution Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/events/activation:
    post:
      tags:
      - Events
      summary: Capture Activation Event
      description: 'Record a single activation product-event for the signed-in client.


        Unknown ``event_type`` is accepted-but-ignored (returns ``recorded=False``)

        so a frontend that adds a new event never 4xx-errors a fire-and-forget

        beacon; only allow-listed types are persisted.'
      operationId: capture_activation_event_api_v1_events_activation_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActivationEventIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: boolean
                type: object
                title: Response Capture Activation Event Api V1 Events Activation Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/events/site:
    post:
      tags:
      - Events
      summary: Record Site Events
      operationId: record_site_events_api_v1_events_site_post
      responses:
        '204':
          description: Successful Response
components:
  schemas:
    ActivationEventIn:
      properties:
        event_type:
          type: string
          maxLength: 48
          title: Event Type
        page:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          title: Page
        error_code:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Error Code
        meta:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Meta
      type: object
      required:
      - event_type
      title: ActivationEventIn
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AttributionIn:
      properties:
        attribution:
          additionalProperties: true
          type: object
          title: Attribution
      type: object
      required:
      - attribution
      title: AttributionIn
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer