Saki Docs
Media

Upload a media file

Accepts images (JPEG, PNG, WebP) and videos (MP4, QuickTime). Images are auto-optimized.

Base URLhttps://app.usesaki.com/api
post/media

Upload a media file

Accepts images (JPEG, PNG, WebP) and videos (MP4, QuickTime). Images are auto-optimized.

AuthorizationBearer <token>

Response

curl -X POST "https://app.usesaki.com/api/media" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "data": {
    "id": "string",
    "type": "string",
    "url": "string",
    "mime": "string",
    "width": "string",
    "height": "string",
    "size": "string",
    "alt": "string",
    "order": "string"
  }
}