ApiUploads
Mint client-upload token (used by @vercel/blob/client)
POST
Internal endpoint invoked by the @vercel/blob/client upload() function. Validates the requested pathname, then returns a constrained client token (image types only, 5 MB max, random suffix). Auth: zap_* API key with uploads:write scope, or dashboard JWT.
bearerX-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"Client token generated (or upload-completed acknowledged).
curl -X POST 'http://localhost:3001/api/v1/uploads/handle'Example Response200
Empty
Blob credential status (diagnostic — no secrets exposed) GET
Previous Page
Upload an image through the server (≤5 MB) POST
Fallback upload path for API clients (zap_* key with `uploads:write` scope or JWT). Prefer the client-direct flow (`/uploads/handle`) for browsers — it bypasses function size limits and is cheaper.