question

jason-eriksen477 avatar image
jason-eriksen477 asked anton-nikitin answered

call to /restapi/v1.0/account/~/extension/~ returns extensionNumber 0

When calling: /restapi/v1.0/account/~/extension/~ for a particular user account, I get back a response which has an extensionNumber value of '0'


Since 0 is not a valid extension number, what would cause this condition?


The user is the admin user for this account, and this happens if the user logs in with an extension or leaves the extension field blank.

rest api
1 |1500 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.

ak avatar image
ak answered
Hi Jason,

What is the extension that you are using to login for this account ?  Please be aware that ~ represents the current accountID and extensionID with the above API Call.

1 |1500 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.

anton-nikitin avatar image
anton-nikitin answered
"0" is a valid extension number for some old accounts. You probably cannot create such extensions today, but in the past it was possible.


1 |1500 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.

jason-eriksen477 avatar image
jason-eriksen477 answered
Thank you for the responses. The user gets this value when they leave the extension blank. If 0 used to be a valid extension then an older account with a Super Admin ext of 0 sounds like the culprit.
1 |1500 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.

jason-eriksen477 avatar image
jason-eriksen477 answered
Anton, do you by chance know when extensions of 0 were disallowed?
1 |1500 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.

anton-nikitin avatar image
anton-nikitin answered
Jason, "0" is default extension for Primary account administrator. With some RingCentral Service Plans it even can happen today. For most accounts extension is created with "101" number. If you want me to investigate this particular case please provide customer phone number which was used as a username.
1 |1500 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.

anton-nikitin avatar image
anton-nikitin answered
Jason, the number you provided is not associated with any RingCentral account.

Actually, even today, Fax-only accounts have the only extension, and its number is "0".
1 |1500 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.

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