Recent searches


No recent searches

Ticket Search API - Field Specific Response?



Posted Dec 01, 2023

I'm running an API ticket search by phone number
Ex.  /api/v2/search.json?query=type:ticket+requester:%2B555-123-4567

I only want returned in the response the "url" value for ticket(s) found and don't need all of the other fields.  Is it possible to either only return certain fields or suppress lengthy sections like "custom_fields"?


0

1

1 comment

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey Greg,
 
It's not possible to filter the properties on the response object(s), unfortunately. Depending on how you're working with the data, your best bet would likely be running a bit of code in the background to filter the results on your end.
 
Sorry I couldn't be more help!
 
Tipene

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post