cURL
curl --request POST \ --url https://api.mudstack.com/workspaces/upload \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "key": "<string>", "signed_url": "<string>" }
Generates a signed URL for uploading a file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the file to upload
The content type of the file
The checksum of the file
Successfully generated upload URL
Represents a signed URL for uploading an asset.
The unique key associated with the upload.
The signed URL used for uploading the asset.
Was this page helpful?