Skip to main content
Use CDN endpoints for directly served assets. Use Storage endpoints for buckets, access keys, billing, and analytics. Bucket objects use the CDN asset endpoints with bucketId.

Create a bucket

POST /storage/buckets
string
required
Unique display name.
private | public
default:"private"
Bucket visibility.
string
Preferred region when available.
string
Optional public cache behavior.
boolean
default:"false"
Enables supported object versioning.

Bucket endpoints

Upload an object

POST /cdn/assets This endpoint uses multipart/form-data.
file
required
Object contents.
string
required
Destination bucket ID.
private | public
default:"public"
Per-object visibility.
string
Optional object path.

Object endpoints

Create an S3 access key

POST /storage/buckets/{bucketId}/access-keys
string
Label for the integration using the key.
read | read_write
default:"read"
Allowed S3 operations.
secretAccessKey is returned once. Store it securely and never include it in logs.
Use the Pxxl API key only for bucket and key management. Send object requests to the returned S3 endpoint with the bucket-scoped accessKeyId and secretAccessKey; do not send PXXL_API_KEY to https://storage.pxxl.app/s3.

Storage analytics

CDN endpoints