Skip to main content
New Idea

REST API for getting custom status IDs to names mapping

Related products:Freshservice
  • September 3, 2024
  • 0 replies
  • 29 views

Dexter Döpping
Apprentice
Forum|alt.badge.img

Fresh documents some ticket status codes (2-5) but we see other status codes returned by the API. These are apparently custom statuses configured for our Freshservice instance.

There doesn’t appear to be a way to get the names of these status codes from the API.

An API like the following would be really helpful.

GET /api/v2/tickets/status_codes:

{"status_codes": [{"id": 2, "name": "Open"}, {"id": 3, "name": "Pending"}, {"id": 4, "name": "Resolved"}, {"id": 5, "name": "Closed"}, {"id": 7, "name": "Custom Status 1"}, {"id": 12, "name": "Another custom status"}, {"id": 14, "name": "Custom name"}]}