Skip to main content
The UploadUrlResponse type is returned by the createUploadUrl mutation. It contains the pre-signed upload (a URL and, for a form POST, the form fields signed for it) and metadata about the upload session.
String!
The URL to upload your file to, with upload_method. For POST, send a multipart form with every upload_fields entry as a form field, then the file last, as the field named file. For PUT, send the file as the request body, with a Content-Type header equal to the content_type you requested. See Uploading the File.
UploadMethod!
The HTTP method of the upload: the upload_method requested in createUploadUrl, or PUT when none was. See UploadMethod.
[UploadFormField!]!
For POST, the form fields the upload was signed with. Send each one unchanged, in any order, before the file. The names depend on the storage provider, so read them from the response instead of hard-coding them. Empty for PUT.
String!
The unique identifier for the meeting. Use this ID when calling confirmUpload after uploading the file.
String!
ISO 8601 timestamp indicating when the upload URL expires. URLs are valid for 1 hour from creation.

UploadMethod

How the file is uploaded to upload_url. createUploadUrl takes it as the optional upload_method input and returns it as upload_method.

UploadFormField

One field of the signed upload form.
String!
The form field name, for example key, Content-Type, policy or x-goog-signature.
String!
The value to send for the field, unchanged.

Example Response

With upload_method: POST:
With upload_method: PUT, or none:

Additional Resources

Create Upload URL

Generate a pre-signed upload form or URL

Confirm Upload

Confirm the upload and start transcription