Skip to main content
POST
Import media

Authorizations

Authorization
string
header
required

An API key from Settings › AI apps & API in Postploy. Keys start with ppk_.

Body

application/json
url
string<uri>
required

Where to fetch the file. Must start with https://.

fileName
string
required

The file's name. Its extension sets the type and must be one of jpg, jpeg, png, webp, gif, mp4 or mov.

Required string length: 1 - 200

Response

The file in your media library.

data
object
required

An image or video in your team's media library.