question

fix-my-phone4274 avatar image
fix-my-phone4274 asked ·

Where could i lookup my AccountID and ExtensionID

We are trying to pull incoming calls daily for each number and extension in our account in to our own dashboard. My programmers are telling me they need our AccountID and ExtensionID. Where can they get this to complete this project. Thanks!
aaa
1 |1000 characters needed characters left characters exceeded

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

benjamin-dean avatar image
benjamin-dean answered ·
The best way to get your Account ID after you've received an access_token is to use send a GET request to /restapi/v1.0/account/~

This will return the account information for the authenticated user. Here are the docs:  https://developers.ringcentral.com/api-docs/latest/index.html#!#RefAccountInfo.html


The best way to get your Extension ID after you've received an access_token is to send a GET request to /restapi/v1.0/account/~/extension/~

This will return the extension information for the authenticated user. Here are the docs:  https://developers.ringcentral.com/api-docs/latest/index.html#!#RefGetExtensionInfo
1 |1000 characters needed characters left characters exceeded

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

Tyler Liu avatar image
Tyler Liu answered ·
And by the way send a GET request to /restapi/v1.0/account/~/extension to get a list of the extensions in your account.
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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