Upload an asset
POST
/assetsUpload a file (multipart/form-data; field "file") to central storage and track it. Metadata fields (purpose, ownerType, ownerId, accountId, visibility, cdn) accompany the file.
Request Body
namestring
purpose"event_image" | "organisation_logo" | "account_logo" | "user_avatar" | "ticket_template_asset" | "rendered_pass" | "rendered_receipt" | "export" | "other"
ownerTypestring
ownerIdstring
accountIdstring
visibility"public" | "private"
cdnboolean | "true" | "false"
Response
Asset uploaded
Code Samples
No code examples available for this operation.