Skip to content
API Referencev1.0.0 · 11 endpoints
GitHubDiscord

ImageUploadedMessage

object

Message about an image upload

ImageUploadedMessage
message?
string
imageUrl?
string

The URL where the uploaded image can be accessed

uploadedAt?
string <date-time>

Timestamp when the image was uploaded

fileSize?
integer

Size of the uploaded image in bytes

mimeType?
string

The content type of the uploaded image

Example

{
  "message": "Image uploaded successfully",
  "imageUrl": "https://cdn.scalar.com/images/8f47c132-9d1f-4f83-b5a4-91db5ee757ab.jpg",
  "uploadedAt": "2024-01-15T14:30:00.000Z",
  "fileSize": 1048576,
  "mimeType": "image/jpeg"
}