POST
/
api
/
library
/
v1
/
media
/
link

Authorizations

Authorization
string
header
required

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

Body

application/json

Media link

Minimum length: 1
kind
enum<string> | null

Kind of media uploaded

Available options:
video,
audio,
image
name
string | null

Media name

Response

200
application/json
Upload media from link
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