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

# Bucket Event Notifications

> Configure HTTP webhooks for object uploads to Telnyx Cloud Storage.

Bucket event notifications send an HTTP webhook to a destination you control after a successful object upload. Configure them through the S3-compatible bucket notification API.

> [!NOTE]
>
> The notification API is currently verified in the US region.

## Supported events

| Event | Trigger |
| - | - |
| `s3:ObjectCreated:Put` | Successful single-object PUT |
| `s3:ObjectCreated:CompleteMultipartUpload` | Successful multipart completion |
| `s3:ObjectCreated:*` | Both of the above |

Object deletion events are not supported. Notifications target an HTTP or HTTPS webhook URL, not SNS or SQS.

## Configure a webhook

Send `PUT /{bucket}?notification` to your Telnyx Cloud Storage endpoint with S3 authentication. This is the S3-compatible `PutBucketNotificationConfiguration` operation.

```xml theme={null}
<NotificationConfiguration>
  <CloudFunctionConfiguration>
    <Id>upload-webhook</Id>
    <CloudFunction>https://example.com/storage-webhook</CloudFunction>
    <Event>s3:ObjectCreated:Put</Event>
    <Event>s3:ObjectCreated:CompleteMultipartUpload</Event>
  </CloudFunctionConfiguration>
</NotificationConfiguration>
```

`GET /{bucket}?notification` retrieves the configuration. XML is the default; PUT also accepts `Content-Type: application/json` and GET supports `Accept: application/json`. A supplied configuration `Id` is preserved; if omitted, the service generates one.

To disable notifications, PUT an empty `<NotificationConfiguration/>`.

## Delivery

After a successful upload matching the configuration, Cloud Storage asynchronously sends an HTTP `POST` with an S3-style JSON `Records` payload. Records include event name, timestamp, region, bucket name, object key, and available object metadata. The `eventSource` is `telnyx:s3`.

The upload does not wait for webhook delivery. HTTP 5xx responses are retried (up to five attempts, with backoff); HTTP 4xx responses are not. Make webhook handlers idempotent, and do not assume a successful upload guarantees webhook delivery.

## Limitations

* Only object-created events are supported; there are no key prefix/suffix filters.
* Webhook deliveries are not signed, and no delivery-status or dead-letter-queue API is provided.
* Loopback, private, link-local, and unspecified destination IPs are blocked.

See the [S3 compatibility matrix](https://developers.telnyx.com/docs/cloud-storage/supported.md).
