API - updating, posting ticket custom fields

For our freshdesk implementation we have two custom fields under tickets - a list of services and a list of projects, to which we correlate all of our tickets.

So for example I have 140 services in a dropdown and a 14 projects in the project dropdown, and I want to periodically add to these.

I can get the custom fields list using "freshdesk.com/api/v2/ticket_fields" and I can compare this list to my good database list of projects, and services, and determine what is missing in Freshdesk.

But I can't figure out what POST or PUT methods I can use to update/post new choices to my two ticket custom fields.  I am not updating a specific ticket; I just want to add more choices to the two custom fields that are used by all tickets.

2 people have this question

So, is there a Solution yet? Have the same problem.

Want to update the field via API and in my opinion it is not possible. 

Not with Text-Value nor with Dropdown-ID-Value

For everyone searching for the solution it´s something I found on stackoverflow after wasting some time trying to update my custom_fields into my ticket.

I don´t know if I am able to post external links but the solution is something like this:

Don´t use like mentioned in the api

"custom_fields": {"cf_field1":"Test"}

But use:


You can search on Stackoverflow for the post:

How to use Freshdesk API to create a new ticket with custom fields using javascript

Login or Signup to post a comment