JonasJonsson | 2025-01-08 10:07:19 UTC | #1
Groups have the possibility to add members by rules, see https://help.mypurecloud.com/articles/group-membership-rules/.
I'm trying to find how to create those rules by API. POST /api/v2/groups does not allow you to set these rules, neither any of the other documented /api/v2/groups/* endpoints.
After some reverse engineering I found that Genesys Cloud frontend uses PUT /api/v2/voicemail/groups/{groupId}/profile to set these rules. This endpoint is not listed in the documentation and GET /api/v2/groups/{groupId}/profile is listed as deprecated.
Can you provide some insights to why this is not included in your documentation?
Zino_Onokpise | 2025-01-15 17:08:05 UTC | #2
Hi JonasJonsson,
From speaking with the appropriate team, its not documented because the profile endpoint is deprecated and this feature was never added to the non-profile endpoint.
You can submit a feature request through the ideas portal if you would like.
JonasJonsson | 2025-01-16 06:45:38 UTC | #3
Okey, so what you are saying is that your frontend is using deprecated API's?
I can't find any notice that the "Group membership rules" feature is going to be deprecated. How will the feature contiunue if the supporting API is depecated?
Zino_Onokpise | 2025-01-16 17:12:45 UTC | #4
Yes, the frontend is using deprecated APIs. We don't have any plans to remove the membership rules feature, but it is currently only supported through the UI.
system | 2025-02-15 17:13:09 UTC | #5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 31092