---
title: "Create an S3-compatible output destination"
method: POST
path: "/storage-destinations"
tags: ["Storage"]
---

# Create an S3-compatible output destination

`POST /storage-destinations`

## Request

- Base URL: `https://renderio.dev/api/v1`
- URL: `https://renderio.dev/api/v1/storage-destinations`
- Auth: API key in header `X-API-KEY`

Stores the credentials encrypted and never returns their secret values. Available on the Business plan.

## Request body

- CreateStorageDestinationRequest
  - `name` string, required
  - `endpoint_url` string, uri, required: HTTPS endpoint for AWS S3 or an S3-compatible provider.
  - `region` string, required
  - `bucket` string, required
  - `prefix` string: Optional key prefix. RenderIO appends `{command_id}/{filename}`.
  - `public_base_url` string, uri, nullable: Optional public or CDN base URL used to construct `storage_url`.
  - `path_style` boolean: Use path-style bucket addressing. Commonly required by S3-compatible providers.
  - `credentials` StorageCredentials, required
    - `access_key_id` string, required
    - `secret_access_key` string, password, required
    - `session_token` string, password

## Response `201`

Storage destination created

- StorageDestination
  - `storage_destination_id` string, required: Business-plan S3-compatible destination that receives this command's outputs.
  - `name` string, required
  - `endpoint_url` string, uri, required
  - `region` string, required
  - `bucket` string, required
  - `prefix` string, required
  - `public_base_url` string, uri, nullable, required
  - `path_style` boolean, required
  - `access_key_id_masked` string, required
  - `disabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Malformed request
- `401`: Missing or invalid API key
- `403`: Plan does not include this capability
- `409`: Resource state conflict
- `429`: Rate limit exceeded — retry after the `Retry-After` interval

---

[API](https://skmtc.dev/renderio/apis/renderio-api.md) · [All operations](https://skmtc.dev/renderio/apis/renderio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/renderio/apis/renderio-api/revisions/062c8f1c062b?raw)
