question

brian-ladouceur5004 avatar image
brian-ladouceur5004 asked Anirban Sen Chowdhary 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
topic-default
1 |1000

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 |1000

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 |1000

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

Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary 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 reteieve the phone numbers associated to 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 devsupport@ringcentral.com

1 |1000

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.