Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Organizations authentication settings

    Posted 06-04-2025 08:41

    Hi everyone,

    I'm working with the Genesys Cloud API to implement a custom flow for adding agents to our platform. As part of this process, I need to fetch the organization's authentication settings, particularly the password requirements.

    I'm using the endpoint:

    GET /api/v2/organizations/authentication/settings

    When making this request with a non-admin user, I receive an error indicating that the following permissions are required:

    • directory > organization > admin

    • telephony > plugin > all

    When I use an admin user, the request works fine and returns the expected data.

    My question:

    Is there any workaround to retrieve the required authentication/password policy settings without granting the non-admin user the admin or telephony > plugin > all permissions?

    I'm hoping to keep our permission model strict and avoid over-permissioning where possible.

    Thanks in advance for any suggestions or workarounds!


    #PlatformAPI

    ------------------------------
    We proudly support Ukraine!
    ------------------------------


  • 2.  RE: Organizations authentication settings

    Posted 06-04-2025 09:15

    Hello,

    The GET /api/v2/organizations/authentication/settings endpoint requires the `directory:organization:admin` permission.
    You can find required permissions and scopes in the endpoint description in API Explorer (link I put above), under Operation Information section.

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------