Legacy Dev Forum Posts

 View Only

Sign Up

Get Users not returning all

  • 1.  Get Users not returning all

    Posted 06-05-2025 18:24

    cserapiglia | 2023-01-17 18:14:16 UTC | #1

    We are using get users API call to pull down the user profile informaiton. We noticed it is not pulling all users - we want all Active/inactive/deleted. any ideas? we are using state = any? we pull this each day to capture the User ID in Genesys cloud to join back to other enterprise data. We are pulled all records everyday and overwriting out on prem table as users can change. This is being run by python scripting... Any ideas?

    GET /api/v2/users?pageSize=500&pageNumber=7&expand=employerInfo&state=any HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer Content-Type: application/json


    tim.smith | 2023-01-17 18:30:36 UTC | #2

    I have verified that state=any does appear to work and returns users in any state. If you believe the response is missing data, please ensure that you have properly paged through all pages of users and your application doesn't have any bugs relating to user processing, then open a case with Genesys Cloud Care to investigate the missing data in your org.


    system | 2023-02-17 18:30:56 UTC | #3

    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: 18024