Question

How to get calls by phone number? When I specify phone number the request does not return anything. If I do not specify phone number, request returns call recprds where I can find this phone number.

  • 20 March 2019
  • 3 replies
  • 435 views

curl --request GET

--url 'https://platform.ringcentral.com/rest...' --header 'accept: application/json' --header 'authorization: Bearer SUFEMDFQMD'


3 replies

I tested and it turns out that only digits are allowed in a phone number.

Instead of phoneNumber=%2B639476919888 please try phoneNumber=639476919888
Test case: https://github.com/ringcentral/RingCentral.Net/blob/master/RingCentral.Tests/CallLogTest.cs#L54-L69
Thanks a lot, you are right about digits. It helped me to resolve the issue.

Reply