Skip to content

Upload a clipart​

POST
/cliparts

Upload one clipart into a clipart or vector category (see "Asset Libraries" for how to send each kind of file):

  • Raster images (PNG, JPEG, GIF, WebP): upload_id from POST /uploads, or url. Processed in the background -- returns status: processing.
  • SVG/EPS: multipart file, or url. An SVG upload_id is a 422.

A category holds at most 300 cliparts (your account may have a different limit), as in the portal. Adding one to a full category is a 422 on category_id; replacing an existing clipart (on_duplicate: replace) adds nothing, so it is allowed. on_duplicate: replace works for raster images only -- replacing with an SVG/EPS file is a 422 on on_duplicate.

Requires assets:write ability.

Authorizations​

bearerAuth

Include Authorization: Bearer <token> header. Token must have the required abilities.

Type
HTTP (bearer)

Request Body​

JSON
{
  
"upload_id": "9b2f6c1e-3d4a-4f7b-9c1d-2e5a6b7c8d9e"
}

Responses​

An existing clipart with the same name was matched:

  • on_duplicate: skip -- returned unchanged.
  • on_duplicate: replace -- its image is being replaced (status: processing for raster images).
application/json
JSON
{
  
"id": 98765,
  
"name": "SKU123_clipart_01",
  
"category_id": 654,
  
"status": "processing",
  
"url": "users/4965/cliparts/654/68c0006568e69_large.webp",
  
"thumbnail_url": "https://cdn.teeinblue.com/users/4965/cliparts/654/68c0006568e69_thumb.webp",
  
"created_at": "2026-10-08T10:30:00Z",
  
"updated_at": "2026-10-08T10:30:05Z"
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.