> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a category list item

> Add a category list item using WebAPI agents

```javascript theme={null}
var item = {}
item.Id = 0;
item.Name = "Created by unit test";
item.Tooltip = "Unit Tests FTW";
item.UdListDefinitionId = -64 // Category list ID
item = Post("api/v1/Agents/List/SaveListItemEntity", item)
```

The list item will be added - we can get the whole list here:

```javascript theme={null}
req = { UdListDefinitionName: "category", IncludeDeleted: true }
items = Post("api/v1/Agents/List/GetAllFromListName", req)
```

<Note>
  The examples are given in JavaScripty pseudocode.
</Note>


## Related topics

- [Add a category list item using REST](/en/api/web-services/howto/company/add-catlist-item-rest.md)
- [Put Category Headings For List Item](/en/api/reference/restful/rest/list_category/put-category-headings-for-list-item.md)
- [Get Category Headings For List Item](/en/api/reference/restful/rest/list_category/get-category-headings-for-list-item.md)
- [Add lists items](/en/admin/lists/add-items.md)
- [Put Category User Groups For List Item](/en/api/reference/restful/rest/list_category/put-category-user-groups-for-list-item.md)
- [Get Category User Groups For List Item](/en/api/reference/restful/rest/list_category/get-category-user-groups-for-list-item.md)
