Skip to main content
POST
Create media

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Body

application/json
inputFileId
string
required
type
enum<string>
required
Available options:
video,
image,
logo,
intro-video,
outro-video

Response

200 - application/json

Media created

id
string
required
type
enum<string>
required
Available options:
video,
image,
logo,
intro-video,
outro-video
url
string<uri>
required
status
enum<string>
required
Available options:
processing,
ready,
failed
error
string | null
required
width
number
required
height
number
required
createdAt
string
required
updatedAt
string
required
previewUrl
string<uri> | null