How to find a Category ID?

faq-material

(Khoa Nguyen) #1

I’m using API to create some automatic posts. But I don’t know how to find a category ID in Discourse.

I have to view the database dump for catergory id


(cpradio) #2

Look at the json that is returned to populate the page. :smile:

Then do a search for category_id


(Khoa Nguyen) #3

Ha. Thanks you @cpradio


(Spero Koulouras) #4

http://discoursesite/site.json

Will give you all the categories.