I use http://developer.onepagecrm.com/api_browser/
enter "custom_fields.json" and press GET
"custom_field": {
"id": "5710aed900d4afaaca001b57",
"choices": [
"Craneflow Aerospace",
"Bumblebee Engineering",
"Jones Systems",
"Test Another Pipeline"
],
enter "contacts.json?custom_field_id=5710aed900d4afaaca001b57&custom_field_value=Bumblebee+Engineering"
....."total_count": 7,
"page": 1,
"max_page": 1,
"per_page": 10
enter "contacts.json?custom_field_id=5710aed900d4afaaca001b57&custom_field_value=Craneflow+Aerospace"
"total_count": 0,
"page": 1,
"max_page": 0,
"per_page": 10
But if I run "contacts.json" , I will see contacts which have "Craneflow Aerospace" in this custom field
The filter by "Craneflow Aerospace" works correctly in user interface
Hi,
by default contacts.json endpoint returns only contacts owned by the user who is authorizing API call. It is possible, that contacts with "Craneflow Aerospace" custom field value are being owned by other user from the same account. Could you try to add team=1 parameter to the API request, which returns contacts from the whole account and check if those contacts are showing up?
thank you!
it worked.
I'm sorry for the question.
I've missed this parameter while reading api doc