I’m curious if there is a known issue with the Users Scroll API? The Company one works just fine, but the users one returns that it is not a valid resource.
I found a github incident from 2018 where something similar happened and I’m wondering if something similar is at play again.
I notice that the users scroll documentation page doesn’t have a Try It option like Companies does, which leads me to believe it may be a known issue that the endpoint doesn’t actually work.
Current Documentation: https://developers.intercom.com/docs/references/1.3/rest-api/users/iterating-over-all-users
Hey,
Afaik, it should work, but it’s a bit tricky, so you need to make sure that the following are accounted for:
- Only one scroll session at a time, and it expires in 60 seconds, so slow testing will fail.
- Make sure your scroll_param is fresh and used right away.
- SDKs sometimes throw “not a valid resource” even when the raw endpoint work: try curl/Postman to confirm.
If you have those figured out, it usually works fine. Otherwise, perhaps sounds like a support ticket might be needed.
curl --location 'https://api.intercom.io/users/scroll' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer aACTUAL TOKEN]'
Make sure that you are on v1.3, and that the workspace that you are using has users in it (if you have a testing workspace with 0 users, that could be the reason for the error)
If those 2 points don’t cut it, I guess best course would be to log a ticket with them, hopefully they can point out exactly what is the issue based on how they see the setup or the error on the backend!
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.