GET
call is used for search actions by default, and sends the data from the input form to your API endpoint.
Zapier expects an array response with 0 or more items.
If multiple matches are found, return a reasonable number of items. Pagination is not supported, and returning too many results will produce errors. Although by default Zaps only use the first result, users can decide to group all results as line items. Other products like Agents will always use all results. Do not group multiple results as line items yourself, as this will conflict with allowing products and users to control this.
If no matches are found, an empty array must be returned - even if the API responds with a 404
status. A search that returns no results is still considered a successful action step and should not return an error.
If you need to parse the response from the endpoint into the expected response type, switch to Code Mode to write custom JavaScript code for your action.