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

# List webhook messages

> 
Retrieve all webhook messages sent.

Please note that, by default, this endpoint is limited to retrieving 90 days' worth of data relative to now. Messages that date back more than 90 days are still accessible, but their payloads are expunged.
If an iterator is provided, the endpoint retrieves data spanning 90 days before/after the time indicated by the iterator ID. If you require data beyond those time ranges, you will need to explicitly set the before or after parameter as appropriate.




## OpenAPI

````yaml get /v1/webhooks/messages
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/webhooks/messages:
    get:
      tags:
        - Webhooks
      summary: List webhook messages
      description: >

        Retrieve all webhook messages sent.


        Please note that, by default, this endpoint is limited to retrieving 90
        days' worth of data relative to now. Messages that date back more than
        90 days are still accessible, but their payloads are expunged.

        If an iterator is provided, the endpoint retrieves data spanning 90 days
        before/after the time indicated by the iterator ID. If you require data
        beyond those time ranges, you will need to explicitly set the before or
        after parameter as appropriate.
      operationId: listWebhookMessages
      parameters:
        - schema:
            type:
              - string
              - 'null'
            format: date
            description: >-
              Date time string in the [ISO
              8601](https://en.wikipedia.org/wiki/ISO_8601) format.
            example: '2024-01-20T16:04:11Z'
          required: false
          description: >-
            Date time string in the [ISO
            8601](https://en.wikipedia.org/wiki/ISO_8601) format.
          name: before
          in: query
        - schema:
            type:
              - string
              - 'null'
            format: date
            description: >-
              Date time string in the [ISO
              8601](https://en.wikipedia.org/wiki/ISO_8601) format.
            example: '2024-01-20T16:04:11Z'
          required: false
          description: >-
            Date time string in the [ISO
            8601](https://en.wikipedia.org/wiki/ISO_8601) format.
          name: after
          in: query
        - schema:
            type: array
            items:
              type: string
            description: Event types to consider.
            enum:
              - custom_action
              - customer.created
              - customer.updated
              - customer.archived
              - customer.recovered
              - customer.deleted
              - subscription.created
              - subscription.trial_ended
              - subscription.activated
              - subscription.reactivated
              - subscription.contract_started
              - subscription.contract_renewed
              - subscription.paused
              - subscription.phase_activated
              - subscription.updated
              - subscription.cancellation_scheduled
              - subscription.cancelled
              - subscription.voided
              - subscription.errored
              - subscription.charged
              - subscription.commitment_renewed
              - subscription.reinstated
              - subscription.analytics_updated
              - invoice.created
              - invoice.grace_period.started
              - invoice.late
              - invoice.ready
              - invoice.reminder_sent
              - invoice.settled
              - invoice.errored
              - invoice.chargeback
              - invoice.voided
              - invoice.uncollectible
              - invoice.deleted
              - invoice.batch.creation_succeeded
              - invoice.batch.creation_failed
              - invoice.batch.email_succeeded
              - invoice.batch.email_skipped
              - invoice.batch.email_failed
              - credit_note.ready
              - credit_note.allocations_updated
              - credit_note.settled
              - credit_note.voided
              - checkout.created
              - checkout.completed
              - payment_method.created
              - payment_method.activated
              - payment_method.errored
              - payment_method.deleted
              - payment_method.expiring_soon
              - payment_method.expired
              - wallet.credited
              - wallet.debited
              - wallet.low_projected_balance
              - daily_analytics.ready
              - dataloader.failed
              - credit.low_balance
              - credit.balance_refreshed
              - credit.created
              - credit.updated
              - credit.balance_at_zero
              - credit.topup_transaction_created
              - credit.usage_transaction_created
              - credit.expiration_transaction_created
              - quote.created
              - quote.updated
              - quote.approval_requested
              - quote.approved
              - quote.sent
              - quote.viewed
              - quote.signed
              - quote.activated
              - quote.voided
              - bank_account.created
              - bank_account.deleted
              - bank_account.errored
              - custom_property.created
              - custom_property.updated
              - custom_property.deleted
              - custom_property.value_created
              - custom_property.value_updated
              - aggregator.updated
              - aggregator.threshold_crossed
              - feature.created
              - feature.updated
              - feature.archived
              - feature.recovered
              - feature.deleted
              - product.feature.assigned
              - product.feature.updated
              - product.feature.unassigned
              - customer.feature.assigned
              - customer.feature.updated
              - customer.feature.unassigned
              - product.created
              - product.updated
              - product.archived
              - product.recovered
              - product.deleted
              - plan.created
              - plan.updated
              - plan.deleted
              - coupon.created
              - coupon.updated
              - coupon.deleted
              - pricebook.created
              - pricebook.updated
              - pricebook.deleted
              - subscription_transition.completed
              - approval_workflow.created
              - approval_workflow.updated
              - approval_workflow.deleted
              - approval_request.created
              - approval_request.step_requested
              - approval_request.step_approved
              - approval_request.step_rejected
              - approval_request.approved
              - approval_request.rejected
              - approval_request.cancelled
              - agent.run.completed
              - journal_entry.created
              - revrec_schedule.completed
            example:
              - customer.created
          required: false
          description: Event types to consider.
          name: event_types
          in: query
        - schema:
            type: number
            minimum: 1
            maximum: 250
          required: false
          name: limit
          in: query
        - schema:
            type: string
          required: false
          name: iterator
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedWebhookMessage'
      security:
        - bearer: []
components:
  schemas:
    PaginatedWebhookMessage:
      type: object
      properties:
        meta:
          type: object
          properties:
            iterator:
              type:
                - string
                - 'null'
          required:
            - iterator
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookMessage'
      required:
        - meta
        - data
    WebhookMessage:
      type: object
      properties:
        id:
          type: string
          description: Webhook message ID.
          example: msg_1srOrx2ZWZBpBUvZwXKQmoEYga2
        event_id:
          type: string
          description: >-
            Unique ID corresponding to the event occurrence in the Hyperline
            system.
          example: evt_9avP4zLks7L1yh
        payload:
          anyOf:
            - type: object
              properties:
                event_type:
                  type: string
                  enum:
                    - custom_action
                    - customer.created
                    - customer.updated
                    - customer.archived
                    - customer.recovered
                    - customer.deleted
                    - subscription.created
                    - subscription.trial_ended
                    - subscription.activated
                    - subscription.reactivated
                    - subscription.contract_started
                    - subscription.contract_renewed
                    - subscription.paused
                    - subscription.phase_activated
                    - subscription.updated
                    - subscription.cancellation_scheduled
                    - subscription.cancelled
                    - subscription.voided
                    - subscription.errored
                    - subscription.charged
                    - subscription.commitment_renewed
                    - subscription.reinstated
                    - subscription.analytics_updated
                    - invoice.created
                    - invoice.grace_period.started
                    - invoice.late
                    - invoice.ready
                    - invoice.reminder_sent
                    - invoice.settled
                    - invoice.errored
                    - invoice.chargeback
                    - invoice.voided
                    - invoice.uncollectible
                    - invoice.deleted
                    - invoice.batch.creation_succeeded
                    - invoice.batch.creation_failed
                    - invoice.batch.email_succeeded
                    - invoice.batch.email_skipped
                    - invoice.batch.email_failed
                    - credit_note.ready
                    - credit_note.allocations_updated
                    - credit_note.settled
                    - credit_note.voided
                    - checkout.created
                    - checkout.completed
                    - payment_method.created
                    - payment_method.activated
                    - payment_method.errored
                    - payment_method.deleted
                    - payment_method.expiring_soon
                    - payment_method.expired
                    - wallet.credited
                    - wallet.debited
                    - wallet.low_projected_balance
                    - daily_analytics.ready
                    - dataloader.failed
                    - credit.low_balance
                    - credit.balance_refreshed
                    - credit.created
                    - credit.updated
                    - credit.balance_at_zero
                    - credit.topup_transaction_created
                    - credit.usage_transaction_created
                    - credit.expiration_transaction_created
                    - quote.created
                    - quote.updated
                    - quote.approval_requested
                    - quote.approved
                    - quote.sent
                    - quote.viewed
                    - quote.signed
                    - quote.activated
                    - quote.voided
                    - bank_account.created
                    - bank_account.deleted
                    - bank_account.errored
                    - custom_property.created
                    - custom_property.updated
                    - custom_property.deleted
                    - custom_property.value_created
                    - custom_property.value_updated
                    - aggregator.updated
                    - aggregator.threshold_crossed
                    - feature.created
                    - feature.updated
                    - feature.archived
                    - feature.recovered
                    - feature.deleted
                    - product.feature.assigned
                    - product.feature.updated
                    - product.feature.unassigned
                    - customer.feature.assigned
                    - customer.feature.updated
                    - customer.feature.unassigned
                    - product.created
                    - product.updated
                    - product.archived
                    - product.recovered
                    - product.deleted
                    - plan.created
                    - plan.updated
                    - plan.deleted
                    - coupon.created
                    - coupon.updated
                    - coupon.deleted
                    - pricebook.created
                    - pricebook.updated
                    - pricebook.deleted
                    - subscription_transition.completed
                    - approval_workflow.created
                    - approval_workflow.updated
                    - approval_workflow.deleted
                    - approval_request.created
                    - approval_request.step_requested
                    - approval_request.step_approved
                    - approval_request.step_rejected
                    - approval_request.approved
                    - approval_request.rejected
                    - approval_request.cancelled
                    - agent.run.completed
                    - journal_entry.created
                    - revrec_schedule.completed
                  description: Event type.
                data:
                  type: object
                  properties: {}
                  additionalProperties: {}
                  description: >-
                    Depends on the type of event, see the [event
                    catalog](https://app.hyperline.co/app/settings/webhooks) for
                    more details.
              required:
                - event_type
                - data
            - type: string
              enum:
                - EXPUNGED
          description: Webhook message payload.
        sent_at:
          type: string
          format: date-time
          description: >-
            Date time string in the [ISO
            8601](https://en.wikipedia.org/wiki/ISO_8601) format.
          example: '2024-01-20T16:04:11Z'
      required:
        - id
        - event_id
        - payload
        - sent_at
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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