> ## 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.

# Get an event

> One event of the last 30 days by its id, the `webhook-id` of the delivery.



## OpenAPI

````yaml GET /developer/v1/event/{id}
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/{id}:
    get:
      tags:
        - Events
      summary: Get an event
      description: >-
        One event of the last 30 days by its id, the `webhook-id` of the
        delivery.
      operationId: getPublicEvent
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            pattern: ^evt_[0-9a-f]{32}$
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1Event'
        '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'
        '404':
          description: Not found, or the resource belongs to another organization.
          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:
    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
    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
  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.