Media Types & SubTypes
This reference lists all supported media type and subType values used across the Media and Files APIs.
Valid Type and SubType Combinations
| Type | Allowed SubTypes | Default SubType |
|---|---|---|
photo | photograph | photograph |
logo | logo | logo |
illustration | illustration | illustration |
screenshot | iphone, ipad, macbook, imac, laptop, desktop, tablet, smartphone | iphone |
backdrop | backgroundImage, pattern, texture | backgroundImage |
Usage
- When creating media via Create Media, the
typeis required andsubTypeis optional - If
subTypeis omitted, the Default SubType for the giventypeis used - When filtering media via Get Media, both
typeandsubTypeare optional filters - The
typeandsubTypecombination must be valid; invalid combinations will return an error - When requesting a presigned upload URL via Get Presigned URL, the
typemust match the file being uploaded
File Extensions by Type
| Type | Supported Extensions |
|---|---|
photo | jpg, jpeg, png, webp |
logo | jpeg, png, svg, webp |
illustration | svg |
screenshot | jpg, jpeg, png, webp |
backdrop | jpg, jpeg, png |
font | ttf |