Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

Your API key from Settings → Developers, or an OAuth token beginning pos_. Sent raw — do not prefix it with Bearer.

Body

multipart/form-data
file
file

Response

200 - application/json

The stored media item.

id
string
required

An id returned by one of the upload routes.

path
string

Public URL of the stored file.