POST

Get Media Upload URL


Note: The Form Submission API only works with the Wix Forms app. Call GetAppInstance to confirm that the app named wix_forms is installed on the site.


Retrieves a URL, generated by Media Manager, to allow clients to upload a file to a form for submission.

Permissions
Manage Challenges
Manage Submissions
Manage form submissions.
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/form-submission-service/v4/submissions/media-upload-url

Body Params
formIdstringRequiredformat GUID

Form ID.


filenamestringRequiredmaxLength 300

Name of file to upload.


mimeTypestringRequiredmaxLength 100

Mime type of file to upload.

For example, 'image/png'

Response Object
uploadUrlstringmaxLength 500

Url to upload file.

Get Media Upload URL Example 1
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?