getMediaUploadUrl( )


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

Note: You need at least a Standard Premium plan for your site to upload files.

To learn how external clients can use the generated upload URL to upload a file to the Media Manager, see Upload API.

Permissions
Manage Submissions
Learn more about app permissions.
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