question

rw avatar image
rw asked Phong Vu answered

API Get User Presence Status is not complete

Hi,

i want to query the user status if the user is (really) available to take calls.

The command https://platform.ringcentral.com/restapi/v1.0/account/accountId/extension/extensionId/presence gives me presenceStatus and userStatus but both shows "available" if a user is in fact not available because of after hours are active or even because of not logged in at all. Is there a way to get the user status for these sceanrios?

rest api
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

The user presence status from that API does not include user availability after hours, nor his online/offline status.

To check if a user is online or offline, you can call this API to detect. Unfortunately, this API does not return the user online/offline on the RC app nor the RC mobile app.

To check a user after hours setting, you can call this API to detect if there is any rule set for that user extension.

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