Search leads by organization_id

Hi! I would like to retrieve all Leads for a specific organization_id.

The endpoint “/v1/leads/search” seems do it but has a required parameter of “term” which I do not want to provide.

Are there any other endpoints that could assist in this request, or could you make “term” optional?

Welcome to the community, @dsantelices :wave:!

For retrieving all leads for a specific organization_id, you can use the GET /leads endpoint along with filtering (by using the filter_id parameter).

The endpoint for adding a new filter is POST /filters. Be sure to read more about adding a filter in our Developer Docs.

Let us know if you have additional questions!

Thank you @Helena_Sul!
I achieved it with your help.

1 Like