question

Sam Turner avatar image
Sam Turner asked Phong Vu answered

Find Users with Hidden Flag = true

I am trying to write some code that finds how many Users have their "Hidden" flag set equal to true via a GET request.

I've tried to do it using parameters in the url, but the only parameter that the RC API seems to accept is the "email" parameter.

Would anyone be able to help me out with this? I am using the RC JavaScript SDK. Please let me know if you need any other information.

rest apisdk
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

Unfortunately, the hidden flag is not one of the query parameters of the List Extensions API

You just have to call the API, limited the result by setting the query param "type=User" (because the hidden flag is applied only to "User" extensions. Then, parse the result with a record.hidden is true to identify a hidden user.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys