Upload Config Endpoints
Complete API reference for upload configuration endpoints.
Upload config endpoints are part of the Admin API tier. All endpoints are under /api/v1/upload-configs and require API key authentication.
GET
/upload-configsList upload configs with pagination.
GET
/upload-configs/allList all upload configs across the user's spaces (simple pagination).
GET
/upload-configs/:idGet a single upload config with its full config object visible.
The config field is hidden in list responses and only visible when fetching a single config by ID.
POST
/upload-configsCreate a new upload config.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Config name |
description | string | No | Description |
space_id | string | Yes | Parent space |
is_signed | boolean | No | Require signed URLs for upload |
allow_unsigned | boolean | No | Allow public unsigned uploads |
delivery_type | string | No | upload, private, or authenticated |
config | object | No | Full config object (see below) |
unsigned_restrictions | object | Conditional | Required when allow_unsigned is true |
Config object structure:
Unsigned restrictions (when allow_unsigned: true):
| Field | Type | Required | Validation |
|---|---|---|---|
unsigned_restrictions.allowed_referrers | string | Yes | Min 1 item, domain regex pattern |
unsigned_restrictions.require_https | boolean | Yes | |
unsigned_restrictions.max_uploads_per_hour | integer | No | 1-1000 |
POST
/upload-configs/updateUpdate an existing upload config. Uses POST instead of PUT.
DELETE
/upload-configsDelete an upload config. Requires the config ID in the request body.