Python / Genesys Cloud

Hi,

Is it possible to use Python with all of the API Queries in the API Explorer?

Thank you.

Kind Regards,

Hello,

Yes, the Platform API is a REST based API.
We also have an SDK available for Python (which is a wrapper of the Platform API endpoints).

As far as I know, the only things that vary in the SDKs, depending on the development language (python, javascript, ...), are the authentication and authorization methods.
This is due to how the language is used (server-side code, client-side code, ...) and the nature of the OAauth Authorization types that Genesys Cloud supports.
E.g. The API explorer leverages a Token Implicit Grant flow (user context/credentials)
E.g. The Javascript SDK exposes methods for Token Implicit Grant, SAML2 Bearer Grant and Client Credentials Grant (server context).
E.g. The Python SDK exposes methods for Authroization Code Grant, SAML2 Bearer Grant and Client Credentials Grant (server context). Token Implicit Grant method is not exposed/implemented.

Regards,

Hello Jerome,

Thank you for responding. I appreciate it.

Kind Regards,

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