all or cdn, and a paid plan. Storage buckets and access keys need Pro or Enterprise.
Create a bucket
POST /storage/buckets
201
409. A plan without Storage returns 403 with requiredPlan.
Bucket endpoints
Objects
Read and write bucket objects by key with these routes. For large files and bulk transfers, use the S3 API with a bucket access key.sort is key, newest, oldest, largest, or smallest. With content=true, text objects up to 256 KB include their content. PUT accepts text content up to 1 MB and returns 413 above that.
Upload a file
POST /cdn/assets
This endpoint uses multipart/form-data. Without bucketId the file goes to your CDN space. With bucketId it goes into that bucket.
201
Create an S3 access key
POST /storage/buckets/{bucketId}/access-keys
201
accessKeyId and secretAccessKey. Do not send PXXL_API_KEY to https://storage.pxxl.app/s3.

