create a category with the API