Lumail Events API

Subscriber activity events.

GitHub OpenAPI

Operations 2

GET /api/v1/subscribers/{subscriber}/events List subscriber events #
POST /api/v1/events Create a subscriber event #

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/lumail-io:lumail-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. 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

lumail-io-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lumail REST Events API
  version: 1.0.0
  summary: Organization-scoped email operations for applications and agents.
  description: Create and manage subscribers, tags, events, campaigns, and transactional email in Lumail. Every operation uses an organization API token as a Bearer credential.
  contact:
    name: Lumail support
    email: contact@lumail.io
    url: https://lumail.io/support
  license:
    name: Proprietary
    url: https://lumail.io/legal/terms
servers:
- url: https://lumail.io
  description: Lumail production API
tags:
- name: Events
  description: Subscriber activity events.
paths:
  /api/v1/subscribers/{subscriber}/events:
    get:
      operationId: listSubscriberEvents
      summary: List subscriber events
      description: Returns cursor-paginated activity for one subscriber with optional type, date, order, and search filters.
      tags:
      - Events
      security:
      - bearerAuth: []
      parameters:
      - name: subscriber
        in: path
        required: true
        description: Subscriber ID or email address in the authenticated organization.
        schema:
          type: string
          minLength: 1
      - name: cursor
        in: query
        required: false
        description: Opaque pagination cursor.
        schema:
          type: string
      - name: take
        in: query
        required: false
        description: Maximum events to return.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: eventTypes
        in: query
        required: false
        description: JSON array of event type names.
        schema:
          type: string
      - name: order
        in: query
        required: false
        description: Chronological order.
        schema:
          type: string
          enum:
          - asc
          - desc
          default: desc
      - name: startDate
        in: query
        required: false
        description: Inclusive ISO 8601 start timestamp.
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        required: false
        description: Inclusive ISO 8601 end timestamp.
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: The operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventListResponse'
        '400':
          description: The request could not be validated or completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The bearer token is missing, invalid, or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested organization resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: The organization API rate limit was exceeded.
          headers:
            Retry-After:
              description: Seconds until another request should be attempted.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/v1/events:
    post:
      operationId: createSubscriberEvent
      summary: Create a subscriber event
      description: Records a typed activity event for a subscriber identified by ID or email.
      tags:
      - Events
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventInput'
      responses:
        '200':
          description: The operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: The request could not be validated or completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The bearer token is missing, invalid, or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested organization resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: The organization API rate limit was exceeded.
          headers:
            Retry-After:
              description: Seconds until another request should be attempted.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    EventInput:
      type: object
      required:
      - eventType
      - subscriber
      - data
      properties:
        eventType:
          type: string
        subscriber:
          type: string
          minLength: 1
        data:
          type: object
          additionalProperties: true
      additionalProperties: false
    EventResponse:
      type: object
      required:
      - success
      - event
      properties:
        success:
          type: boolean
          const: true
        event:
          $ref: '#/components/schemas/Event'
    EventListResponse:
      type: object
      required:
      - events
      - nextCursor
      properties:
        events:
          type: array
          items:
            $ref: '#/components/schemas/Event'
        nextCursor:
          type:
          - string
          - 'null'
    ErrorResponse:
      type: object
      required:
      - name
      - message
      - statusCode
      properties:
        name:
          type: string
        message:
          type: string
        statusCode:
          type: integer
        details:
          type: object
          additionalProperties: true
    Event:
      type: object
      required:
      - id
      - eventType
      - createdAt
      properties:
        id:
          type: string
        eventType:
          type: string
        subscriberId:
          type: string
        data:
          type: object
          additionalProperties: true
        createdAt:
          type: string
          format: date-time
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Lumail organization API token
      description: 'Create an organization API token in Lumail and send it as Authorization: Bearer lum_....'
externalDocs:
  description: Lumail API and agent documentation
  url: https://lumail.io/docs/api-reference