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

# List events

> The webhook events of the last 30 days, newest first, each exactly as it was delivered. Only events your organization had an endpoint listening for are kept, so an organization with no endpoints has none. Test events are left out.



## OpenAPI

````yaml GET /developer/v1/event
openapi: 3.1.0
info:
  title: Compago API
  version: 1.0.0
  description: >-
    Public and private API endpoints for Compago's payment infrastructure. This
    specification currently includes endpoints for one-time payments. More
    endpoints will be added as the platform evolves.
servers:
  - url: https://demo-api-harmony.compago.com/api
  - url: https://api-harmony.compago.com/api
security: []
tags:
  - name: OneTimePayment
    description: Endpoints for creating and processing one-time payment links
  - name: PaymentMethod
    description: >-
      Endpoints for saving cards, charging saved payment methods, holding and
      capturing funds, and processing refunds
  - name: PaymentIntent
    description: >-
      Endpoints for creating and managing card-present payment intents for POS
      terminal integrations
  - name: Payments
    description: Read the payments your organization has taken
  - name: Subscriptions
    description: Read and manage recurring billing agreements
  - name: PaymentLinks
    description: Create, edit and retire hosted checkout links
  - name: Products
    description: Manage the catalogue behind product-based payment links
  - name: Promotions
    description: Read the promotions your organization funds or benefits from
  - name: Salespeople
    description: Read the point-of-sale operators in your organization
  - name: Organization
    description: Read your organization profile and its members
  - name: SavedCards
    description: Read saved payment methods and their payments
  - name: Payouts
    description: >-
      Read the transfers Compago sent to your bank accounts and what each one
      paid
  - name: Events
    description: >-
      Read the webhook events of the last 30 days, to reconcile after your
      endpoint was down
  - name: ApiKeys
    description: Manage your organization's API keys with a key that holds `apiKey:write`.
paths:
  /developer/v1/event:
    get:
      tags:
        - Events
      summary: List events
      description: >-
        The webhook events of the last 30 days, newest first, each exactly as it
        was delivered. Only events your organization had an endpoint listening
        for are kept, so an organization with no endpoints has none. Test events
        are left out.
      operationId: listPublicEvents
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          description: Rows per page. Values above 100 are rejected.
        - name: cursor
          in: query
          schema:
            type: string
          description: >-
            Opaque cursor from a previous response's `pagination.nextCursor`.
            Omit for the first page.
        - name: type
          in: query
          schema:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
          description: Only events of this type. Repeat for several.
        - name: objectId
          in: query
          schema:
            type: string
          description: Only events about this object, such as one payment.
        - name: createdAtFrom
          in: query
          schema:
            type: string
            format: date-time
          description: Only events at or after this instant.
        - name: createdAtTo
          in: query
          schema:
            type: string
            format: date-time
          description: Only events at or before this instant.
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1EventPage'
        '400':
          description: Invalid request. A query parameter failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '401':
          description: Unauthorized. The `x-api-key` header is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '403':
          description: >-
            Forbidden. The key is not bound to an organization, or the
            organization is not a merchant.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '429':
          description: >-
            Rate limit exceeded. See the `Retry-After` and `X-RateLimit-*`
            headers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1EventPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/V1Event'
        pagination:
          $ref: '#/components/schemas/V1Pagination'
      required:
        - data
        - pagination
    PublicError:
      type: object
      properties:
        message:
          type: string
          description: Human-readable description.
        code:
          type: string
          description: Stable machine-readable code. Branch on this, not on `message`.
      required:
        - message
    V1Event:
      type: object
      description: A webhook event, exactly as it is delivered to your endpoints.
      properties:
        id:
          type: string
          pattern: ^evt_[0-9a-f]{32}$
          description: >-
            Unique per event, and the same on every retry and resend:
            deduplicate on it. Also sent as the `webhook-id` header.
          example: evt_5f0c8f0e1b2a4c6d8e9f00112233aabb
        type:
          type: string
          description: >-
            What happened, such as `payment.succeeded`. See the webhooks guide
            for the catalog.
          example: payment.succeeded
        apiVersion:
          type: string
          description: The shape of `data.object`. Changes only with a new version.
          example: '2026-11-01'
        createdAt:
          type: string
          format: date-time
          description: When it happened.
        livemode:
          type: boolean
          description: 'Always `true` today: every event is about real money.'
        data:
          type: object
          properties:
            object:
              type: object
              description: >-
                The object it happened to, exactly as the developer API returns
                it at that moment: a payment, subscription, one-time payment,
                saved card, payment intent or payout.
              additionalProperties: true
          required:
            - object
      required:
        - id
        - type
        - apiVersion
        - createdAt
        - livemode
        - data
    V1Pagination:
      type: object
      properties:
        limit:
          type: integer
          description: Rows requested for this page.
        hasMore:
          type: boolean
          description: Whether another page exists.
        nextCursor:
          type:
            - string
            - 'null'
          description: Pass as `?cursor=` to fetch the next page. Null on the last page.
      required:
        - limit
        - hasMore
        - nextCursor
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.