Save file as an asset

Beta
Save a file as an asset in the target workspace.

Authentication

X-API-KEYstring
API Key authentication via header

Query parameters

parent_folder_idstring or nullOptional
Identifier of the folder into which the asset should be saved
workspace_idstring or nullOptional
Identifier of the workspace to save the asset into. Defaults to the caller's current workspace. The caller must be a member of the specified workspace.

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

Successful Response
asset_idstring

Errors

400
Bad Request Error
403
Forbidden Error
413
Content Too Large Error
422
Unprocessable Entity Error