Skip to main content
POST
/
api
/
integrations
/
uploads
/
direct
Direct Upload
curl --request POST \
  --url https://mm-midmarket-integrations-api-preview.azurewebsites.net/api/integrations/uploads/direct \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form 'file=<string>'
{
  "blobPath": "<string>",
  "sizeBytes": 123,
  "contentType": "<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

multipart/form-data
file
string
required

File to upload (max 10MB)

Response

Successful Response

Response model for direct upload.

blobPath
string
required

Storage path where file was uploaded

sizeBytes
integer
required

Size of uploaded file in bytes

contentType
string
required

MIME type of uploaded file