Upload Pasted Image

Upload images that the user pastes via clipboard (Ctrl+V) in the system.

Available Endpoints

Method Path Description
POST /api/upload_pasted_image Upload pasted image

Example Request

curl -X POST "https://example.com/api/upload_pasted_image" \
  -H "Authorization: Bearer {token}" \
  -F "image=@screenshot.png"

Success Response (200)

{
  "url": "https://example.com/uploads/screenshot.png"
}

Errors

Code Description
401 Invalid token
422 Validation error
Type to search...