How to get ticket category, sub_category and item_category options via API in Freshservice?

@Pavel_ACL,

This is how I understood. Please correct me if I am wrong.

For an application that you are trying to build, you are looking for a response payload from Freshservice APIs with the information on key value pairs of

  1. Category Key and Value associated with it. Example, "category":"Hardware"
  2. Sub-Category Key and Value associated with it. Example, “Sub-Category”:“Computer”
  3. Item Key and Value associated with it. Example, “Item”:“PC”

May be focussing on two particular attributes may help,

/api/v2/ticket_fields

nested_fields

choicesnested_options

Might provide you what you could be looking for.

1 Like