Skip to main content
POST
Create an image or video upload

Authorizations

Authorization
string
header
required

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

Body

application/json

JPEG/PNG images: at most 8 MiB. MP4/MOV videos: at most 1 GiB. Upload the file to the signed storage URL without the Postinger Authorization header, then call complete.

filename
string
required
Required string length: 1 - 255
contentType
enum<string>
required
Available options:
image/jpeg,
image/png,
video/mp4,
video/quicktime
sizeBytes
integer
required
Required range: x <= 1073741824

Response

Success

data
object
required
meta
object
required