Skip to main content
POST
/
api
/
integrations
/
pricing
/
estimate
Estimate submission price
curl --request POST \
  --url https://mm-midmarket-integrations-api-preview.azurewebsites.net/api/integrations/pricing/estimate \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "files": [
    {
      "blobPath": "550e8400-e29b-41d4-a716-446655440000/campaign-video.mp4"
    },
    {
      "blobPath": "660e8400-e29b-41d4-a716-446655440111/brief.pdf"
    }
  ]
}
'
{
  "files": [],
  "totalCredits": 0
}

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
files
PricingEstimateFileInput · object[]

The uploaded assets you intend to submit. The same blobPaths you would pass to POST /submissions.

Response

Successful Response

files
PricedFileSchema · object[]

Per-file pricing, in the order supplied.

totalCredits
integer
default:0

Sum of credits across all priceable files — what creating the submission will cost.