getMediaUploadUrl( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a URL generated by the Media Manager to use when creating a submission that includes a field for uploading files.

Note: The Submissions API is only available in Wix Studio.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Submissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
formIdstringRequired

Form ID.


filenamestringRequired

Name of file to upload.


mimeTypestringRequired

Mime type of file to upload.

For example, 'image/png'

Returns
Return Type:Promise<GetMediaUploadURLResponse>
Was this helpful?
Yes
No