News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Is there a way to fetch a specific call data using webhook payload prams ?
Tags: webhooks
May 30, 2022 at 7:25am   •   1 replies  •  0 likes
API Enthu

We are using webhook subscription event to fetch call details after a call is being ended in ring central.

In the payload of webhook, we are not getting callId
So how can we get recordings of a particular call.

{
  uuid: '6475624891090878721',
  event: '/restapi/v1.0/account/721083005/extension/721083005/presence?detailedTelephonyState=true&sipData=true',
  timestamp: '2022-05-30T13:41:58.698Z',
  subscriptionId: '51bf9d40-7bca-445d-853c-b204a8f0da26',
  ownerId: '721083005',
  body: {
    extensionId: 721083005,
    telephonyStatus: 'Ringing',
    activeCalls: [ [Object] ],
    sequence: 43,
    presenceStatus: 'Available',
    userStatus: 'Available',
    dndStatus: 'TakeAllCalls',
    allowSeeMyPresence: true,
    ringOnMonitoredCall: false,
    pickUpCallsOnHold: false,
    totalActiveCalls: 1
  }
}
1 Answer
answered on May 31, 2022 at 8:24am  

You should subscribe for the telephony session event notification instead of the presence?detailedTelephonyState. Read this blog for detailed telephony session event explanation.

This blog and the tutorial also shows you how to detect and download call recordings.

https://medium.com/ringcentral-developers/how-to-start-stop-and-resume-recording-a-call-programmatically-459b02e6976d

https://medium.com/ringcentral-developers/how-to-get-a-new-call-recording-notification-ee9f2a6e41a0



 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us