question

sattar k avatar image
sattar k asked sattar k commented

Which endpoint API can be used for starting a call.

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.

call handling
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered sattar k commented

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.

1 comment
1 |3000

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

sattar k avatar image sattar k commented ·

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?

0 Likes 0 ·

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