{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"The first step in uploading an asset to a site.\n\n\nThis endpoint generates a response with the following information: `uploadUrl` and `uploadDetails`.\n\n\nUse these properties in the header of a [POST request to Amazson s3](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) to complete the upload.\n\n\nTo learn more about how to upload assets to Webflow, see our [assets guide](/data/docs/working-with-assets).\n\n Required scope | `assets:write`\n","properties":{"path":{"type":"object","properties":{"site_id":{"type":"string","examples":["580e63e98c9a982ac9b8b741"],"description":"Unique identifier for a Site"}},"required":["site_id"],"additionalProperties":false},"body":{"description":"The request to create an asset","required":["fileName","fileHash"],"properties":{"fileName":{"type":"string","description":"File name including file extension. File names must be less than 100 characters.","examples":["file.png"]},"fileHash":{"type":"string","description":"MD5 hash of the file","examples":["3c7d87c9575702bc3b1e991f4d3c638e"]},"parentFolder":{"type":"string","description":"ID of the Asset folder (optional)","examples":["6436b1ce5281cace05b65aea"]}}}},"required":["path","body"],"additionalProperties":false},"name":"Upload Asset","id":"webflow.create-asset","example":{"path":{"site_id":"580e63e98c9a982ac9b8b741"},"body":{"fileName":"file.png","fileHash":"3c7d87c9575702bc3b1e991f4d3c638e"}},"maxRequests":1,"summary":false}}