# Get a list of all subscriptions events messages based on filters

**GET** `/dpm/webhooks/v1/subscriptions/{event_name}/events`

Base URL: `https://api.pre.globalgetnet.com`

Send your specific filters to obtain a list of messages. The limit of messages is 1000. The default pagination is 20 messages per page.

## Authorization

- PROD (oauth2)
- PRE (oauth2)
- SBX (oauth2)

## Path parameters

- `event_name` (string, required)
  Subscription identification

## Query parameters

- `notification_id` (string)
  Filter by notification identifier.
- `payment_id` (string)
  Filter by payment identifier.
- `status` (string)
  Filter by event status.
- `start_date` (string)
  Filter events created on or after this date (YYYY-MM-DD).
- `end_date` (string)
  Filter events created on or before this date (YYYY-MM-DD).
- `limit` (integer)
  Limit results per page.
- `page` (integer)
  Number of the page where pagination starts
- `sort` (string)
  Field to perform the sorting
- `sort type` (string)
  order type.: ASC - ascending. DESC - descending.

## Responses

### 200

Subscription event list

- `status` (string)
- `message` (string)
- `data` (object[])
  List of event notification records for a subscription.
  - `notification_id` (string<uuid>)
    Unique identifier for the notification
  - `seller_id` (string<uuid>)
    Seller identifier
  - `payment_id` (string<uuid>)
    Payment identifier
  - `subscription_id` (string<uuid>)
    Subscription identifier
  - `event_id` (string<uuid>)
    Event identifier
  - `event_name` ("APPROVED_TRANSACTIONS" | "AUTHORIZED_TRANSACTIONS" | "REJECTED_TRANSACTIONS" | "REFUNDED_TRANSACTIONS" | "CANCELLED_TRANSACTIONS" | "CAPTURED_TRANSACTIONS" | "CARD_UPDATE" | "PIX_APPROVED_TRANSACTIONS" | "PIX_CANCELED_TRANSACTIONS" | "BOLETO_REGISTERED_TRANSACTIONS")
    Name of the event
  - `data` (object)
    Event payload data
  - `status` ("pending" | "success" | "failure")
    Current status of the event notification
  - `created_at` (string<date-time>)
    Timestamp when the event was created
  - `updated_at` (string<date-time>)
    Timestamp when the event was last updated

Example:

```json
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": [
    {
      "notification_id": "c26a7498-c816-4227-bdab-362d3468dca9",
      "seller_id": "19ffd677-3691-4c4d-88c9-79cc91b95c0d",
      "payment_id": "4b9566bc-d6f4-4e71-aeda-09ee29a0cfc5",
      "subscription_id": "ab7c729c-2fbc-4259-a4fb-f74dd07c7a0e",
      "event_id": "c26a7498-c816-4227-bdab-362d3468dca9",
      "event_name": "APPROVED_TRANSACTIONS",
      "data": {},
      "status": "pending",
      "created_at": "2025-12-03T16:50:04.404Z",
      "updated_at": "2025-12-03T16:50:04.404Z"
    }
  ]
}
```

### 400

Bad request. Notification bad request.

### 500

Internal server error

- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors. The object type varies depending on the error context.

Example:

```json
{
  "message": "Internal Server Error",
  "details": "[]"
}
```