asset_id, then pass that asset_id in Projects (attachments: [{ asset_id }]) or Brand kits (sections[].asset_ids) without re-uploading bytes.
Required scopes:
motion:assets:read to list or read assets; motion:assets:write to create and complete uploads.Three-step upload flow
Uploads go directly to cloud storage using a presigned POST policy:- Create an upload ticket (
POST /uploads): Sendfilename,content_type, andfile_size. Motion returnsid(the futureasset_id),upload_url, andupload_fields. - Upload file bytes: Send a
POST multipart/form-datarequest toupload_urlwith every entry fromupload_fields, placingfilelast. - Complete & wait for
ready(POST /uploads/{id}/complete): Mark the upload complete, then pollGET /assets/{asset_id}untilasset.statusisready.
The Asset object
Unique UUID for the Library asset. Pass as
asset_id in POST /projects, POST /projects/{id}/messages, or POST /brand-kits.Processing state:
uploading, processing, ready, or failed. Wait until ready before attaching the asset to a project or brand kit.Temporary signed download URL; call
GET /assets/{asset_id} again to renew after expires_at.