API3
mattac at August 23rd, 2016 16:54 — #1
I am having trouble getting contact data when using a filter ID. Here is my API request URL:
https://app.onepagecrm.com/api/v3/contacts/filters/575a925000d4afd8c5f0cdfc.json?fields=contacts(all)&access_token=xxxxx&per_page=100&page=1&team=1&extended=1
I can verify there are contacts appearing in the OnePage UI for that same filter, but the API result doesn't return any contact data. Here is the result:
{"status":0,"message":"OK","timestamp":1471985666,"data":{"filter":{"id":"575a925000d4afd8c5f0cdfc","name":"Filter Name","conditions":[["status","is","custom3"]]}}}
Any idea what I am doing wrong?
liam at August 24th, 2016 04:04 — #2
Hi Matt,
I'm investigating now, and it looks like you may have come across a bug here. I can reproduce the issue. I'll post an update once it's fixed
liam at August 24th, 2016 05:15 — #3
Hi Matt,
You did indeed stumble over a bug introduced a few weeks back. Contacts weren't being returned with the custom filter via the api endpoint contacts/filters/FILTER_ID
It's been hotfixed and I've added test coverage to ensure it stays fixed. I'm very sorry for the outage this caused you.
Please let me know if it's working for you again.
-Liam
mattac at August 24th, 2016 09:09 — #4
It seems to be working now - thanks for your (always) fast help, Liam!
Powered by Discourse, best viewed with JavaScript enabled