question

brian-ladouceur5004 avatar image
brian-ladouceur5004 asked Anirban answered

How to get phone number from contact name using API?

Hi,


How to get phone number from the contact name using API?

If any way to get phone number from the my contact names?


I want to send sms of that phone number from the contact name.


I am trying to use http://ringcentral-csharp.readthedocs.io API to do this.

Or will use http://ringcentral-faq.readthedocs.io/en/latest/ developer api.


please suggest best one.


Regards,

BR

getting started
1 |3000

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
https://developer.ringcentral.com/api-docs/latest/index.html#!#RefAddressBookContacts.html



I am not sure if you have the permission to see this API endpoint. Please login and have a try.
1 |3000

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
Two links in your questions are for the same sever side Rest API. One is for C# while the other is generic.
1 |3000

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

Anirban avatar image
Anirban answered

You can retrieve the Phone Numbers on the extensions you could use : Get Extension Phone Number List
You need an Address Book and you can retrieve the phone numbers associated with the contacts, for which you might need: Get Address Book ( API Endpoint )

Please go through https://developers.ringcentral.com/api-reference/External-Contacts/listContacts

All you need is permission to see this endpoint and for that, you need to mail the developer support team or submit a support ticket.

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