Create upload alias
Creates a shareable alias link for an upload with optional access restrictions like password, expiry, use limits, and allowed users.
Required scopes: upl:bucket:manage
Authorization
OAuth2 upl:bucket:manageOAuth 2.0 authorization
In: header
Scope: upl:bucket:manage
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
ID of the upload to create alias for
uuidPath for the alias (optional, defaults to upload's path)
length <= 4096Slug for the alias (optional, auto-generated if not provided or empty)
length <= 255Password to protect the alias (optional; empty means none). bcrypt caps passwords at 72 bytes.
length <= 72When the alias expires (optional, null = never)
Maximum number of uses (optional, null = unlimited)
int320 <= valueUser IDs that are allowed to access (optional, empty = anyone)
items <= 1000Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.UploadAliasService/CreateUploadAlias" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"alias": "map[aliasId:317 allowedUserIds:[42] createdAt:2026-10-22T09:30:00Z expiresAt:2026-11-22T00:00:00Z externalPath:/share hasPassword:true maxUses:100 path:/share slug:k7Qm2xPz uploadId:9b7e4d2a-3c5f-4e1a-8d2b-6f0e1a7c3b95 url:https://i.example.com/share/k7Qm2xPz useCount:12]"
}