How to capture/use "next URI"

Context: There is no pagination available for GET/api/v2/routing/skillgroups/{skillGroupId}/members. It only returns 100 items. The only way to get the next hundred is to use the 'next uri' data from the payload.

How would I do this with the Python SDK for Genesys Cloud?

Since the cursor isn't returned as its own property in the response body, you'll need to parse it out of the next page URL (the after query param). I'd suggest using a regular expression.

You can request new features and share your use case at https://genesyscloud.ideas.aha.io/

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.