Discussions
User state always reports as "active"
19 days ago by null
Hello,
I'm trying to write a script that gets me a list of all users who are in a pending activation state and have no desk phones assigned, but am running into an issue with the Users - List command. Every time I pull all the users using the API, every single user in the company is reported back as "state": "active", even when they are shown as "pending" in the web UI. Additionally, using "https://dialpad.com/api/v2/users?state=pending" returns no results. This doesn't feel accurate to me. Am I misunderstanding what this value is for, or is this a bug or issue with the API?
Thanks!