Legacy Dev Forum Posts

 View Only

Sign Up

API to pull user profile data from org

  • 1.  API to pull user profile data from org

    Posted 06-05-2025 18:16

    KOHagan | 2020-01-23 14:31:18 UTC | #1

    Hello,

    I'm looking into what API resources are available that will allow for us to report on all existing user profiles within our org. Specifically we are looking for things like "creation date, roles assigned, groups assigned, Status, modified date".

    Is this possible to get? Thanks!


    Becky_Powell | 2020-01-23 15:20:22 UTC | #2

    The Users API will give you most of this information - specifically a GET call to /api/rest/v2/users/.

    If this doesn't provide everything you're looking for, please let us know!


    KOHagan | 2020-01-23 15:50:57 UTC | #3

    Hey Becky,

    Thanks, that does appear to give me the groups and status but i can't seem to get the creation date or last modified date. It looks like it also just shows a list of all permissions assigned and not the role - but that is minor.


    tim.smith | 2020-01-23 16:42:55 UTC | #4

    Groups can be retreived by using the groups expand parameter. A user's "status" is referred to as presence and routing status in PureCloud; both have expand parameters of the same name. Roles will be populated when using the authorization expand parameter.

    Create and modify dates are not available. You can request that those fields be added and share your use case at https://purecloud.ideas.aha.io/ideas.

    You may also be interested in GET /api/v2/profiles/users to get additional profile fields for users that are not part of a user's basic configuration.


    system | 2020-02-23 16:43:01 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: 6951