Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  New API CLI tool

    Posted 06-05-2025 19:18

    TheRealKevinGlinski | 2020-12-03 15:01:51 UTC | #1

    As part of a hackathon I did with @anon47876146 we created a CLI to work with the Genesys Cloud API. The CLI formalizes a hacky script i've been using for a while and is useful for checking configuration details and getting conversations from genesys cloud.

    This is not a Genesys supported tool, if you open a forum post or support case they will not help you

    But since it is a tool that I use myself, I'm happy to support it and publish new releases. PRs also welcome.

    It can be found here: https://pypi.org/project/genesyscloudcli/

    Here are a couple example commands you can do with it:

    Get conversations
    gc analytics conversation <id>
    
    List Users
    gc users list
    
    Subscribe to websockets in the terminal 
    gc notifications subscribe v2.routing.queues.<id>.conversations. 
    
    Create users
    gc users new "{\"name":\"Joe Smith\"}"
    
    Create Test Web Chats
    gc chat new <queuename>

    John_Carnell | 2020-12-03 15:11:36 UTC | #2

    Hi Kevin,

    I saw your hackathon project and thought it was pretty cool. I am working with Trey on getting the GitHub repo GitHub repo in purecloudlabs setup for the source code. As soon as the repo is up we will put up a forum post with the location. Also, I would love it if Trey (or you :) ) would be willing to put together a small blog post on it.

    Thank you again for Trey and you putting this together.

    John Carnell Manager, Developer Engagement


    anon47876146 | 2020-12-03 15:30:04 UTC | #3

    While I work on the forum post and blog post, here is the repo from purecloudlabs to install and run locally. NOTE: this will be different than the tool found in pip


    system | 2021-01-03 15:30:05 UTC | #4

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