JavaScript: Create signed upload URL

Creates a signed upload URL. Signed upload URLs can be used to upload files to the bucket without further authentication. They are valid for 2 hours.

Parameters

Examples

Create Signed Upload URL

const \{ data, error \} = await supabase
  .storage
  .from('avatars')
  .createSignedUploadUrl('folder/cat.jpg')