Question

Which endpoint API can be used for starting a call.

  • 31 October 2023
  • 2 replies
  • 83 views

We tried with the answer call party API we are getting the 403 response code, we also tried with the pickup call party API but for this we need to use transfer call API. so can you please suggest which API will be used when an incoming call triggers to answer the call.


2 replies

Userlevel 1

To answer an incoming call programmatically, you can use this API.

You must known the device id of the phone device where the incoming call will be connected to. Currently, you can detect the user's device id of desk phone (hard phone) or of the RingCentral soft phone only. Unfortunately, the RC app and the RC mobile app have dynamic device ids so you cannot detect its device id using the API above.

we are using the active call api and in response of this API we are getting device id. So in https://developers.ringcentral.com/api-reference/Call-Control/answerCallParty api we are using device id from active call api.

So can you suggest that is this the right way of hitting the answer call party API?

Reply