> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeplo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GET Storage Settings

> Configure file storage providers.

## Get storage settings

`GET /api/storage-settings`

Configure file storage for uploaded media and documents.

### Headers

**x-api-key** `string` *required*

Your API key

**x-api-secret** `string` *required*

Your API secret key

**x-channel-id** `string` *required*

WhatsApp channel ID

```bash cURL theme={null}
curl https://zeplo.ai/api/storage-settings \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-api-secret: YOUR_API_SECRET" \
  -H "x-channel-id: YOUR_CHANNEL_ID"
```

`GET /api/storage-settings/active`

```json Response theme={null}
{
  "success": true,
  "data": {
    "id": 1,
    "provider": "s3",
    "config": {
      "bucket": "my-bucket",
      "region": "us-east-1",
      "accessKeyId": "AKIAIOSFODNN7EXAMPLE",
      "path": "uploads/"
    },
    "isActive": true,
    "createdAt": "2026-01-01T08:00:00Z"
  }
}
```

***

## Update storage settings

`POST /api/storage-settings/update`

### Supported providers

| Provider | Required config fields |
| - | - |
| `local` | `path` |
| `s3` | `bucket`, `region`, `accessKeyId`, `secretAccessKey` |
| `digitalocean` | `bucket`, `region`, `accessKeyId`, `secretAccessKey` |
| `gcs` | `bucket`, `projectId`, `credentials` |

```json theme={null}
{
  "provider": "s3",
  "config": {
    "bucket": "my-bucket",
    "region": "us-east-1",
    "accessKeyId": "AKIAIOSFODNN7EXAMPLE",
    "secretAccessKey": "wJalrXUtnFEMI/..."
  }
}
```

***

## Test storage connection

`POST /api/storage-settings/test`

***

## Delete storage setting

`DELETE /api/storage-settings/:id`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.