Skip to content

List library image categories​

GET
/library-image-categories

List your library image categories, newest first, cursor-paginated. As in the portal, which lists a type's categories all at once, there is no search: look one up with the exact name filter. Sending search returns 422. Requires assets:read ability.

Authorizations​

bearerAuth

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

Type
HTTP (bearer)

Parameters​

Query Parameters

type

Only return categories of this type.

Type
string
Valid values
"image""mask"
name

Only return items whose name is exactly this value (case-sensitive). Use it to check whether an item already exists, e.g. SKU123_BG.

Type
string
Example"SKU123_BG"
cursor

Pagination cursor for retrieving the next set of results. This is an opaque string returned in the meta.next_cursor field of the previous response. Do not manually construct cursor values - always use the exact string provided by the API. For first page requests, omit this parameter entirely.

Type
string
Example"eyJjcmVhdGVkX2F0IjoiMjAyNS0wMS0xNSAxMDozMDowMCIsImlkIjoxMjM0NX0"
per_page

Number of items to return per page.

Type
integer
Example25
Minimum
1
Maximum
100
Default
25

Responses​

Cursor-paginated list of library image categories

application/json
JSON
{
  
"links": {
  
  
"next": "https://example.com",
  
  
"prev": "https://example.com"
  
},
  
"meta": {
  
  
"per_page": 0,
  
  
"next_cursor": "string",
  
  
"prev_cursor": "string"
  
},
  
"data": [
  
  
{
  
  
  
"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.