> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.thepennyinc.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.thepennyinc.com/_mcp/server.

# List deliveries of a webhook event

GET https://sandbox.api.thepennyinc.com/notifications/webhooks/events/{notification_event_id}/deliveries

Retrieve delivery status and the latest attempt for each endpoint receiving this event.

Required permissions: `notification_event:read`.

Reference: https://docs.thepennyinc.com/banking/api-reference/platform/notifications/webhooks/events/list-deliveries

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://sandbox.api.thepennyinc.com` (Sandbox — safe for testing, no real money movement., default)
- `https://live.api.thepennyinc.com` (Live — real businesses, real money movement.)

## Request

### Path parameters

- `notification_event_id` (string, required) — The ID of the notification event.

### Query parameters

- `page_size` (integer, optional, default: 100) — Maximum number of results to return per page. Defaults to 100.
- `next_page_token` (string, optional, nullable) — Pagination key used to retrieve the next page of results.

### Headers

- `X-Penny-As-Business` (string, optional, nullable) — Act on behalf of another business that has granted you access. Requires the `business:act_as` permission.

## Response

### 200

Successful Response

- `items` (list of NotificationDelivery, required) — The list of items returned by the API.
- `count` (integer, required) — The total number of items returned in this response.
- `next_page_token` (string, optional, nullable) — A token for retrieving the next page of results, if applicable.

## Errors

### 400 Bad Request Error

The request was malformed: a required field is missing or a value has the wrong type or format.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 401 Unauthorized Error

Authentication failed.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 403 Forbidden Error

The caller does not have permission to perform this action.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 404 Not Found Error

The webhook event was not found.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 422 Unprocessable Entity Error

The request was well-formed but could not be processed because it breaks a business rule.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 429 Too Many Requests Error

Too many requests; retry after the Retry-After header.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 500 Internal Server Error

An unexpected error occurred.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

## Types

### NotificationDelivery

What became of getting one event to one endpoint. Separate from the event itself: an event fanned out to several endpoints has one set of facts and one of these per endpoint, each succeeding or failing on its own. Retry counters are exposed here because, unlike on the event, they describe something the client can act on — a specific endpoint that is not accepting deliveries.

- `notification_delivery_id` (string, required) — Penny's unique identifier for this delivery.
- `notification_event_id` (string, required) — The event being delivered.
- `version` (integer, required) — A number that increases each time this delivery's state changes. Use it to confirm you are looking at the latest information.
- `version_time` (datetime, required) — The date and time this delivery's state was last changed.
- `notification_endpoint_id` (string, required) — The endpoint this delivery is addressed to.
- `channel` (enum, required) — The delivery channel this event was sent over.
  - Allowed values: `webhook`
- `type` (string, required) — The notification event type being delivered.
- `status` (enum, required) — This delivery's current status: 'pending', 'pending_retry', 'delivered', or 'failed'.
  - Allowed values: `pending`, `pending_retry`, `delivered`, `failed`
- `pending_retry` (boolean, required) — Whether this delivery is waiting to be retried.
- `retry_count` (integer, required) — How many times delivery has been retried.
- `queued_time` (datetime, required) — When this delivery was queued for its first attempt.
- `last_attempt_time` (datetime, optional, nullable) — When the most recent attempt resolved, if one has been made.
- `retry_due_time` (datetime, optional, nullable) — When the next attempt is due. Present only while a retry is scheduled.
- `failure` (NotificationFailureDetailsResponse, optional, nullable) — Whether the most recent attempt failed, and why.
- `response` (WebhookDeliveryResponseResponse, optional, nullable) — The raw HTTP response the endpoint returned on the most recent attempt, if one has been made.

### NotificationFailureDetailsResponse

Whether the most recent delivery attempt failed, and why.

- `failed` (boolean, required) — Whether the most recent delivery attempt failed.
- `reason` (string, optional, nullable) — Why the delivery failed, if it has.

### WebhookDeliveryResponseResponse

The HTTP status code and response body returned by your webhook endpoint for a delivery attempt.

- `status_code` (integer, required) — The HTTP status code returned by the endpoint.
- `text` (string, optional, nullable) — The raw response body, if not parsed as JSON.

## Examples

**Response**

```json
{
  "items": [
    {
      "notification_delivery_id": "notification_event_01937a7a-af1b-7ced-842f-af1bced42f42",
      "notification_event_id": "notification_event_01937a7a-af1b-7ced-842f-af1bced42f42",
      "version": 1,
      "version_time": "2024-01-15T10:30:00Z",
      "notification_endpoint_id": "notification_endpoint_01937bc8-3624-739c-85ca-362439c5ca2e",
      "channel": "webhook",
      "type": "transaction.updated",
      "status": "pending",
      "pending_retry": true,
      "retry_count": 1,
      "queued_time": "2024-01-15T10:30:00Z",
      "last_attempt_time": "2024-01-15T10:30:00Z",
      "retry_due_time": "2024-01-15T10:30:00Z",
      "failure": {
        "failed": true,
        "reason": "The endpoint returned HTTP 500 after 3 retries."
      },
      "response": {
        "status_code": 1,
        "text": "string"
      }
    }
  ],
  "count": 1,
  "next_page_token": "string"
}
```

**SDK Code**

```python
import requests

url = "https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries"

headers = {
    "X-Penny-As-Business": "business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries';
const options = {
  method: 'GET',
  headers: {
    'X-Penny-As-Business': 'business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Penny-As-Business", "business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Penny-As-Business"] = 'business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries")
  .header("X-Penny-As-Business", "business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Penny-As-Business' => 'business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Penny-As-Business", "business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Penny-As-Business": "business_01a083e2-82ed-7a5c-9d1e-3b6f0c2a4d71",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox.api.thepennyinc.com/notifications/webhooks/events/notification_event_id/deliveries")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```