Skip to main content
POST
Save an uploaded image to the media library
OAuth scope: media_writeAPI keys have full access to this endpoint.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
fileUrl
string
required
width
integer<int32>
required
height
integer<int32>
required

Response

Created

id
string
required
uri
string
required
width
integer<int32>
required
height
integer<int32>
required
thumbnail
string
required
preview
string
required