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

# Put bucket notification configuration

> Configure HTTP webhooks for object creation events in a Telnyx Cloud Storage bucket.

# PutBucketNotificationConfiguration

Creates or replaces a bucket's event notification configuration. This operation is available in the US region only.

## Request

```http theme={null}
PUT /my-bucket?notification HTTP/1.1
Host: us-central-1.telnyxcloudstorage.com
Content-Type: application/xml
Authorization: AWS4-HMAC-SHA256 ...

<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>
```

Use your Telnyx Cloud Storage S3 credentials to sign the request. The API accepts XML by default and also accepts JSON with `Content-Type: application/json`.

## Supported configuration

| Element | Description |
| - | - |
| `CloudFunctionConfiguration` | Webhook destination and events |
| `Id` | Optional configuration ID; generated when omitted |
| `CloudFunction` | Required HTTP or HTTPS webhook URL |
| `Event` | One or more supported object-created events |

Supported events are `s3:ObjectCreated:Put`, `s3:ObjectCreated:CompleteMultipartUpload`, and `s3:ObjectCreated:*`. SNS topic and SQS queue destinations are not supported.

On success the API responds with `200 OK`. To remove the configuration, PUT an empty `<NotificationConfiguration/>`.

See [Bucket Event Notifications](https://developers.telnyx.com/docs/cloud-storage/notifications.md) for webhook delivery and limitations.
