" /> API - answer the call. - Genesys CTI User Forum

Author Topic: API - answer the call.  (Read 859 times)

Offline bocukom

  • Newbie
  • *
  • Posts: 9
  • Karma: 3
API - answer the call.
« on: August 18, 2023, 07:51:59 AM »
Advertisement
Hello, I use the following URL to reset the call : PATCH "https://api.mypurecloud.jp/api/v2/conversations/calls/{$conversationId}/participants/{$participantId}", {'state':'disconnected'}. Judging by the description, I can also answer a call using this URL with the parameters - {'state':'connected'} , but for some reason it doesn't work. Please tell me what I need to do to answer the call.
« Last Edit: August 18, 2023, 09:43:22 AM by bocukom »

Marked as best answer by cavagnaro on August 23, 2023, 03:01:47 AM

Offline bocukom

  • Newbie
  • *
  • Posts: 9
  • Karma: 3
Re: API - answer the call.
« Reply #1 on: August 21, 2023, 04:37:06 PM »
thanks=) I found the answer myself
https://developer.genesys.cloud/forum/t/how-to-receive-an-incoming-call/675
https://developer.genesys.cloud/forum/t/product-feature-place-calls-via-api-with-webrtc-phone/848

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: API - answer the call.
« Reply #2 on: August 22, 2023, 02:02:13 PM »
Thanks for sharing the solution