Skip to main content
POST
/
api
/
integrations
/
uploads
/
url
Generate Upload Url
curl --request POST \
  --url https://mm-midmarket-integrations-api-preview.azurewebsites.net/api/integrations/uploads/url \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "filename": "<string>",
  "contentType": "<string>"
}
'
{
  "uploadUrl": "<string>",
  "blobPath": "<string>",
  "expiresAt": "<string>"
}

Authorizations

X-API-Key
string
header
default:sk_live_your_api_key_here
required

Workspace-scoped API key. Format: sk_live_{64 hex chars}

Body

application/json

Request model for generating upload URL.

filename
string
required

Original filename

Minimum string length: 1
contentType
string
required

MIME type (e.g., video/mp4)

Response

Successful Response

Response model for upload URL generation.

uploadUrl
string
required

Presigned upload URL

blobPath
string
required

Storage path for the uploaded file

expiresAt
string
required

ISO 8601 expiration timestamp