Skip to content

Start a clipart bulk upload (zip)​

POST
/clipart-category-bulk-uploads

Upload a whole folder of cliparts as one zip file. Folders in the zip become clipart categories and the images inside them become cliparts -- the same as the portal's bulk upload.

Steps:

  1. Call this endpoint with the zip's filename and filesize (bytes). You get back an upload_url and the upload_headers to send with it.
  2. PUT the zip bytes to upload_url with those headers before expires_at.
  3. Call POST /clipart-category-bulk-uploads/{id}/extract.
  4. Poll GET /clipart-category-bulk-uploads/{id} until status is done or error.

The zip size limit and the number of bulk uploads you can have in progress at once depend on your plan, as in the portal. The size is checked against filesize when the upload is created, and against the actual zip again when it is extracted; a zip over the limit ends with status: error. Requires assets:write ability.

Authorizations​

bearerAuth

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

Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"filename": "SKU123.zip",
  
"filesize": 52428800,
  
"parent_category_id": 0,
  
"ignore_parent": true
}

Responses​

Bulk upload created; upload the zip to upload_url next.

application/json
JSON
{
  
"id": 77,
  
"name": "SKU123",
  
"status": "created",
  
"clipart_category_id": 654,
  
"logs": [
  
  
"2026-10-08 10:30:00: Created",
  
  
"2026-10-08 10:31:12: Extracting"
  
],
  
"created_at": "2026-10-08T10:30:00Z",
  
"updated_at": "2026-10-08T10:31:12Z",
  
"upload_url": "https://example.com",
  
"upload_headers": {
  
  
"additionalProperties": "string"
  
},
  
"expires_at": "2026-10-08T10:35:00Z"
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.