Skip to content

Create a layer image category​

POST
/layer-image-categories

Create a layer image category. The type decides which files the category accepts and cannot be changed later. 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
{
  
"name": "SKU123",
  
"description": "string",
  
"type": "clipart",
  
"on_duplicate": "create"
}

Responses​

on_duplicate: skip matched an existing category with the same name and type; it is returned unchanged.

application/json
JSON
{
  
"id": 321,
  
"name": "SKU123",
  
"description": "string",
  
"type": "clipart",
  
"created_at": "2026-10-08T10:30:00Z",
  
"updated_at": "2026-10-08T10:30:00Z"
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.