API TOKENS

Access tokens

Programmatic interface for your edge storage.

Create token

Start with safe defaults, add limits only when needed.

Active tokens

No API tokens yet

Create a token to script uploads, sync files, or connect your tools.

Build with GetSwift

One clean HTTP surface for uploads and edge storage.

# One-step upload
curl -X POST https://api.getswift.cloud/upload \
+  -H "Authorization: Bearer YOUR_API_KEY" \
+  -F "file=@/path/to/your/file.png"

# Response:
# cdn: https://cdn.getswift.cloud/ID
# share: https://app.getswift.cloud/file/ID
# embed: https://i.getswift.cloud/ID

Core endpoints

GET /user · profile data

GET /files · browse assets

POST /upload · simple upload

POST /upload/init · multipart start

DELETE /file/:id · immediate purge