Create new file template asset upload intent
Creates a signed upload intent for uploading a binary asset that backs a NewFileValue.upload_id reference. Same internal bucket as the icon flow; the resulting upload_id is stored on the IntegrationNewFile via UpsertIntegrationNewFile.
Authorization
OAuth2 upl:privateAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:private
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
clientId?string|null
Format
uuidfilename?string
Original filename — used to derive the upload's slug + URL extension. Lowercased server-side.
Length
1 <= length <= 256[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/CreateNewFileAssetUploadIntent" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"signedToken": "string",
"uploadPath": "string",
"expiresAt": "2023-01-15T01:30:15.01Z"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}