v11
latestOpenAPI 3.1.12026-08-03174162.0 MBInternal
Upload and compress image
Upload an image file (PNG, JPEG, or SVG), optionally resize it, and compress it for web. SVG files are uploaded as-is without compression. Returns the uploaded image URL and metadata.
post/internal/upload/image
Request body
Response
OK
Example response
{
"src": "https://assets.session.services/my-image.jpg",
"alt": "My Image",
"width": 1080,
"height": 1080
}