Skip to main content
POST
Upload a file
Upload a file to the gallery. Accepted types are PNG, JPEG, WebP, GIF, SVG, and PDF. The file must be under 8 MB.
string
required
The newsroom id.
string
required
One of image/png, image/jpeg, image/webp, image/gif, image/svg+xml, application/pdf.
string
required
The file, encoded as base64.
string
A file name. The extension is taken from the content type.