How can I extract the name of the custom field in Zendesk with API | Community
Skip to main content

How can I extract the name of the custom field in Zendesk with API

  • July 15, 2022
  • 1 reply
  • 0 views

Mahesh11

Is there an API using which I can extract the custom field name with python in Zendesk so I know which field to populate with what value. Currently i'm able to extract the custom field ID only.



1 reply

Sam15
  • July 17, 2022

Hi @mahesh11!

Custom field titles are stored as part of the JSON returned when calling the API. More information can be found at Ticket Fields | Zendesk Developer Docs.

Specifically, you would look for these objects:

  • title (Internal name of ticket field)
  • title_in_portal (Title of ticket field visible to end users)

You may consider using the Requests or urllib library in Python to execute your API call, depending on version and your personal preference! Hopefully these will point you in the right direction :)