Media
Upload media by file
POST
/
api
/
library
/
v1
/
media
Authorizations
Authorization
string
headerrequiredBearer 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
requiredMedia data
name
string
Media name
Response
200 - application/json
kind
enum<string>
requiredKind of media uploaded
Available options:
video
, audio
, image
status
enum<string>
requiredStatus of media uploaded
Available options:
processing
, ready
, failed
mime_type
string
requiredMedia mime type
user_id
string
requiredAuthor ID
meta
object | null
requiredid
string
requiredID of media uploaded
created_at
string
requiredDate and time of media creation
updated_at
string
requiredDate and time of the last media update
path
string
requiredPath to the media
name
string | null
Name of media uploaded
url
string | null
Media url
Minimum length:
1
preview
object | null