---
title: "Save S3 Configuration"
method: POST
path: "/storage/user-s3"
tags: ["Storage"]
---

# Save S3 Configuration

`POST /storage/user-s3`

Save custom S3 credentials for storing screenshots in your own bucket.

## Request body

- object
  - `bucket` string, required
  - `region` string, required
  - `accessKeyId` string, required
  - `secretAccessKey` string — Required for new configs; optional to preserve existing value
  - `endpoint` string — Custom S3 endpoint for non-AWS providers (e.g., Cloudflare R2)

## Response `200`

S3 settings saved

## Other responses

- `400` — Validation error

---

[API](https://skmtc.dev/snapapi/apis/snapapi-screenshot-web-data-api.md) · [All operations](https://skmtc.dev/snapapi/apis/snapapi-screenshot-web-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/snapapi/snapapi-screenshot-web-data-api/revisions/b12ff2791613/schema)
