Skip to main content
POST
Create an upload

Authorizations

Authorization
string
header
required

A Motion API key. Access is limited to its stored organization, workspace, scopes and the creator’s current permissions.

Scopes

motion:assets:write
motion:sessions:write

Create and steer Motion projects using organization workspace credits.

Body

application/json
filename
string
required

Filename only, without directory separators or control characters.

Required string length: 1 - 255
content_type
string
required
file_size
integer
required
Required range: 1 <= x <= 536870912

Response

Legacy temporary attachment ticket; no Library asset is created.

upload_id
string<uuid>
required
upload_url
string<uri>
required
attachment_url
string<uri>
required
content_type
string
required
filename
string
required
upload_method
string
required
Allowed value: "POST"
upload_fields
object
required
upload_url_expires_in_seconds
integer
required
attachment_url_expires_in_seconds
integer
required
max_file_size_bytes
enum<integer>
required
Available options:
5368709120,
524288000,
52428800