Sib_Das | 2023-05-30 01:30:56 UTC | #1
Hi, I am looking for an endpoint that provides information for the survey settings/configuration for chat, email and message media types.
Basically, what is represented here in the attached screenshot.
Thanks for your assistance.
Regards, SD .
Jerome.Saint-Marc | 2023-05-30 07:53:15 UTC | #2
Hello,
The information displayed on this page comes from GET /api/v2/recording/mediaretentionpolicies/{policyId}
Regards,
Sib_Das | 2023-05-31 00:15:05 UTC | #3
Thanks for responding. The screenshot is from a person who has access to this page. I don't have access to the page or the API. If I get access provisioned for this section/page, will I have access to the API as well.
Jerome.Saint-Marc | 2023-05-31 06:35:09 UTC | #4
Yes.
Your user needs the "recording:retentionPolicy:view" permission to have the right to invoke the GET /api/v2/recording/mediaretentionpolicies/{policyId} endpoint. It is displayed as "Recording > Retention > Policy View: View a retention policy" In Admin UI - Roles/Permissions.
As a side note, the API endpoint I referenced above is if you know the ID of the policy you want to retrieve. If you don't, you can use the GET /api/v2/recording/mediaretentionpolicies endpoint to scan the different policies.
Regards,
system | 2023-07-01 06:36:06 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 20172