[REST API] Fetch parent data by filtering child

I have custom parent docType Individual that has Category (also custom) as its child (category_name goes here) and want to get all Individual data that has certain category_name using rest api. Is this possible? and if it is, how?
This is one of many combination I’ve tried. Most of them resulted in similar response.

Hi @hikmahaz,

Please set API like:
{erpnext.url}/api/resource/Individual?filters=[[“Category”,“category_name”,"=",“Influencer”]]

More Details for:
https://frappeframework.com/docs/v13/user/en/guides/integration/rest_api/listing_documents

Thank You!

1 Like

And also check-in erpnext like:

Thanks.