I want to call wordpress gf form entries by specific filters in form fields via rest api. for example i want to get the entries for formID=12 and ip for 1.1.1.1.
To do this, In the postMan, i’ve create new request tab and follow these steps :
-
Set request method to GET
-
Set url to : mySite.com/wp-json/gf/v2/entries
-
Set user and pass in Authorization tab
-
in body section, i’ve these code :
{
“form_id”: 12,
“field_filters”: [
{
“key”: “ip”,
“value”: “1.1.1.1”
}
]
}
And click on Send button. But still i’ve received all entries for all forms without any filter!! I think this filtering scenario not working!!
Can anybody help me which how to accomplish this task?
Thanks in advance