Skip to content

Create a library image category​

POST
/library-image-categories

Create a library image category. Its type decides which images it can hold 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
{
  
"type": "image",
  
"name": "SKU123",
  
"description": "string",
  
"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": 42,
  
"type": "image",
  
"name": "SKU123",
  
"description": "string",
  
"created_at": "2026-10-16T10:30:00Z",
  
"updated_at": "2026-10-16T10:30:00Z"
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.