---
title: "Upload image"
method: POST
path: "/uploads/image"
tags: ["product:chat"]
---

# Upload image

`POST /uploads/image`

Uploads image

## Response `201`

Successful response

- ImageUploadResponse, nullable
  - `duration` string, required — Duration of the request in milliseconds
  - `file` string
  - `thumb_url` string
  - `upload_sizes` ImageSize[] — Array of image size configurations
    - `crop` string — Crop mode. One of: top, bottom, left, right, center
    - `height` integer — Target image height
    - `resize` string — Resize method. One of: clip, crop, scale, fill
    - `width` integer — Target image width

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

[API](https://skmtc.net/getstream/apis/stream-api.md) · [All operations](https://skmtc.net/getstream/apis/stream-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getstream/stream-api/versions/3dba86aaa0d8/schema)
