Add a category endpoint