Last updated: 2026-02-17

Source: https://support.freshservice.com/support/solutions/articles/50000000294-how-can-i-get-the-ticket-fields-using-apis-

You can use the following curl command to get the required ticket fields:

_curl -v -u user@yourcompany.com:test -X GET_https://domain.freshservice.com/api/v2/ticket\_form\_fields

If you do not want to use your email address and password in the curl command, you can also use your API key instead of the email address and X as the password, as shown below.

_curl -v -u API key:X -X GET__https://domain.freshservice.com/api/v2/ticket\_form\_fields_

For more information, please visit https://api.freshservice.com/v2/#get\_all\_ticket\_fields