POST
/
api
/
library
/
v1
/
media

Authorizations

Authorization
string
headerrequired

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

Query Parameters

kind
enum<string>

Kind of media uploaded

Available options:
video,
audio,
image

Body

multipart/form-data
data
file
required

Media data

name
string

Media name

Response

200 - application/json
kind
enum<string>
required

Kind of media uploaded

Available options:
video,
audio,
image
status
enum<string>
required

Status of media uploaded

Available options:
processing,
ready,
failed
mime_type
string
required

Media mime type

user_id
string
required

Author ID

meta
object | null
required
id
string
required

ID of media uploaded

created_at
string
required

Date and time of media creation

updated_at
string
required

Date and time of the last media update

path
string
required

Path to the media

name
string | null

Name of media uploaded

url
string | null

Media url

Minimum length: 1
preview
object | null