---
title: "Re-New S3 credentials"
method: POST
path: "/v3/batch/s3-credentials/renew"
---

# Re-New S3 credentials

`POST /v3/batch/s3-credentials/renew`

## Request

- Base URL: `https://api.similarweb.com`
- URL: `https://api.similarweb.com/v3/batch/s3-credentials/renew`
- Auth: API key in header `api-key`

This endpoint creates a new S3 integration, and generates an AWS access and secret keys to be used for reading the data written to this integration's folders.

## Response `200`

200

- object
  - `aws_access_key` string
  - `aws_secret_key` string
  - `expiration_date` string
  - `integration_name` string
  - `s3_bucket` string
  - `s3_prefix` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/similarweb/apis/batch-api-v4.md) - [All operations](https://skmtc.dev/similarweb/apis/batch-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/similarweb/apis/batch-api-v4/revisions/dac2bc41567f?raw)
