How can I get a custom status text instead of an integer?

Hello Community,

Is there an API that gives me back all the ticket status in Freshdesk (including custom status)?

For example, an API like:
https://…freshdesk.com/api/v2/status

Often status change according to the customer and the standard table (image below) you have in the documentation is not enough.

image

How I can do that, plase?

Thanks.
Andrea

1 Like

Hi @andrea.veglia,
You can use /api/v2/ticket_fields to retrieve the possible ticket fields and filter by name: “status”. It will have choices like this

"choices": {
            "2": [
                "Open",
                "Being Processed"
            ],
            "3": [
                "Pending",
                "Awaiting your Reply"
            ],
            "4": [
                "Resolved",
                "This ticket has been Resolved"
            ],
            "5": [
                "Closed",
                "This ticket has been Closed"
            ],
            "6": [
                "Test Status",
                "Test Status"
            ]
        }
4 Likes

Hello @ManiDeepak_Vandrangi
Thank you so much for your answer. You were very helpful!
Have a nice day.

Andrea

1 Like