You can use the following curl command : curl -v -u user@yourcompany.com:test -X GET 'https://domain.freshservice.com/api/v2/ticket_fields

For more information, please click : https://api.freshservice.com/v2/#get_all_ticket_fields