---
title: "Handle S3 Events"
method: POST
path: "/v1/webhooks/s3/events"
tags: ["webhooks", "s3-webhooks"]
---

# Handle S3 Events

`POST /v1/webhooks/s3/events`

## Request

- Base URL: `https://api.opero.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.opero.pro/v1/webhooks/s3/events`
- Auth: none declared

Receive a batch of S3 object-change records from the event-router Lambda.

## Headers

- `X-Webhook-Secret` string

## Request body

- S3EventBatch
  - `records` S3FileRecord[], required
    - `key` string, required
    - `bucket` string, required
    - `last_modified` string, required
    - `size` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/opero/apis/opero-pro-api.md) - [All operations](https://skmtc.dev/opero/apis/opero-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opero/apis/opero-pro-api/revisions/e6ede41aeb9b?raw)
