Skip to main content
POST
Upload an image

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Body

multipart/form-data
file
file
required

Image file (PNG, JPG, WebP, or SVG; max 10 MB)

format
enum<string>

Opt into WebP output, for slide imagery. Omit for anything that may be embedded in an email — Outlook desktop cannot render WebP. Default output is JPEG, or PNG when the source has transparency.

Available options:
webp

Response

Uploaded image metadata

image
object