> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moritosh.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List events

> Returns the full activity log: every state transition for every message, plus contact and domain lifecycle events. This is the same data delivered to your webhook endpoints, queryable after the fact.



## OpenAPI

````yaml GET /events
openapi: 3.1.0
info:
  title: Pulsewave API
  description: >-
    Pulsewave is a messaging platform for sending transactional and marketing
    email, SMS, and push notifications. This specification documents every
    resource and operation exposed by the Pulsewave API.
  version: '2024-06-01'
  license:
    name: MIT
  contact:
    name: Pulsewave Developer Support
    url: https://pulsewave.dev/support
    email: developers@pulsewave.dev
servers:
  - url: https://api.pulsewave.dev/v1
    description: Production
  - url: https://api.sandbox.pulsewave.dev/v1
    description: Sandbox (test keys only)
security:
  - bearerAuth: []
tags:
  - name: Messages
    description: Send and inspect individual messages
  - name: Templates
    description: Reusable, versioned content for messages
  - name: Contacts
    description: People you send messages to
  - name: Lists
    description: Named groups of contacts
  - name: Domains
    description: Sending domains and their verification status
  - name: API Keys
    description: Credentials used to authenticate requests
  - name: Webhook Endpoints
    description: URLs that receive event notifications
  - name: Events
    description: Read-only log of everything that happened to a message
paths:
  /events:
    get:
      tags:
        - Events
      summary: List events
      description: >-
        Returns the full activity log: every state transition for every message,
        plus contact and domain lifecycle events. This is the same data
        delivered to your webhook endpoints, queryable after the fact.
      operationId: listEvents
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/StartingAfter'
        - name: type
          in: query
          description: Filter by event type
          schema:
            $ref: '#/components/schemas/EventType'
        - name: message_id
          in: query
          description: Filter to events belonging to a single message
          schema:
            type: string
      responses:
        '200':
          description: A page of events
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventList'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: Number of results to return, between 1 and 100
      schema:
        type: integer
        format: int32
        minimum: 1
        maximum: 100
        default: 20
    StartingAfter:
      name: starting_after
      in: query
      description: >-
        Cursor for pagination. Pass the `id` of the last object from the
        previous page.
      schema:
        type: string
  schemas:
    EventType:
      type: string
      enum:
        - message.sent
        - message.delivered
        - message.bounced
        - message.opened
        - message.clicked
        - message.complained
        - contact.unsubscribed
        - domain.verified
    EventList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Event'
        has_more:
          type: boolean
    Event:
      type: object
      properties:
        id:
          type: string
          example: evt_1a2b3c
        object:
          type: string
          enum:
            - event
        type:
          $ref: '#/components/schemas/EventType'
        created_at:
          type: string
          format: date-time
        data:
          type: object
          description: The object the event happened to, e.g. a Message or Contact
          additionalProperties: true
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request
                - authentication_error
                - not_found
                - validation_error
                - rate_limit_error
                - api_error
            code:
              type: string
              example: missing_required_field
            message:
              type: string
              example: The 'to' field is required for channel 'email'
            param:
              type: string
              nullable: true
              example: to
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        All requests must include `Authorization: Bearer <api_key>`. Keys are
        prefixed `pw_live_` or `pw_test_`. See
        [Authentication](/authentication).

````