question

point-of-rental-software3262 avatar image
point-of-rental-software3262 asked John Wang Deactivated answered

active-calls for current login user

https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/active-calls

https://platform.ringcentral.com/restapi/v1.0/account/123456/extension/7020/active-calls


didn't work, nothing returned even extension 7020 is answering the call.

I need current call record to show whom the logged user is talking to. we have more than 60 different extensions.

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

John Wang avatar image
John Wang Deactivated answered
When you say extension 7020, do you mean 7020 is the extension number that is dialed to reach the user?

If so, then 7020 is what is called the "extensionNumber" in our API which can be used for dialing purposes. However, the number in the REST API path is the "extensionId" which is a different number. To retrieve a list of extensions call the extension (account/{accountId}/extension) endpoint and you will get a list of extensions back with both and "id" (aka "extensionId") property and an "extensionNumber". The "id" property is the one that is used in the REST API path.
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