Difference between revisions of "PEC-CAB/Current/Administrator/CallbackRESTAPIsandTutorials"

From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "PureEngage" to "Genesys Engage")
m (Text replacement - "Genesys Multicloud CXment" to "Genesys Engagement")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Article
 
{{Article
 
|Standalone=No
 
|Standalone=No
|DisplayName=Genesys Engage REST APIs and Tutorials for Callback
+
|DisplayName=Genesys Multicloud CX REST APIs and tutorials for Callback
|TocName=Genesys Engage REST APIs and Tutorials for Callback
+
|TocName=Genesys Multicloud CX REST APIs and tutorials for Callback
 
|Context=Depending on your {{Link-SomewhereInThisManual|topic=CallbackRLP|anchor=top|display text=role}}, you might work with the APIs that are available for Genesys Engagement Services (GES)/Callback. This article provides links to documentation and tutorials for the GES REST APIs and tells you what is required to access Callback APIs from web or mobile applications.
 
|Context=Depending on your {{Link-SomewhereInThisManual|topic=CallbackRLP|anchor=top|display text=role}}, you might work with the APIs that are available for Genesys Engagement Services (GES)/Callback. This article provides links to documentation and tutorials for the GES REST APIs and tells you what is required to access Callback APIs from web or mobile applications.
 
|ComingSoon=No
 
|ComingSoon=No
|Platform=GenesysEngage-onpremises
+
|Platform=GenesysEngage-cloud
 
|Role=Administrator
 
|Role=Administrator
 
|Application=Callback
 
|Application=Callback
|Prereq=
 
 
|Section={{Section
 
|Section={{Section
|sectionHeading=
 
|anchor=
 
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=The documentation for REST APIs is available through the [https://developer.genesyscloud.com/reference/engagement/ Genesys Multicloud CX Developer Center].  
|image=
 
|structuredtext=The documentation for REST APIs is available through the [https://developer.genesyscloud.com/reference/engagement/ Genesys Engage Cloud Developer Center].  
 
  
 
The GES/Callback APIs are:  
 
The GES/Callback APIs are:  
Line 24: Line 19:
 
*[https://developer.genesyscloud.com/reference/engagement/Call-In/index.html Call In] — Request the phone number to call in.
 
*[https://developer.genesyscloud.com/reference/engagement/Call-In/index.html Call In] — Request the phone number to call in.
 
*[https://developer.genesyscloud.com/reference/engagement/Queue-Status/index.html Queue Status] — Retrieve information about a queue's readiness to accept callbacks.
 
*[https://developer.genesyscloud.com/reference/engagement/Queue-Status/index.html Queue Status] — Retrieve information about a queue's readiness to accept callbacks.
*[https://developer.genesyscloud.com/reference/engagement/Statistics/ Statistics] — Provides a proxy to the GWS Statistics API. To use the Callback Statistics API, you must first register your GWS credentials in the Callback UI ('''Developer''' > '''Credential Management''' > '''GWS Credentials''' tab).
+
*[https://developer.genesyscloud.com/reference/engagement/Statistics/ Statistics] — Provides a proxy to the GWS Statistics API. To use the Callback Statistics API, you must first {{Link-SomewhereInThisVersion|manual=Administrator|topic=CallbackStatisticsAPI|display text=register your GWS credentials}} in the Callback UI ('''Developer''' > '''Credential Management''' > '''GWS Credentials''' tab).
  
 
You can test queries in the Developer Center. If you receive error messages while testing your application, use the {{Link-SomewhereInThisVersion|manual=Administrator|topic=CallbackDeveloper|display text='''Developer''' tab}} to get more information.
 
You can test queries in the Developer Center. If you receive error messages while testing your application, use the {{Link-SomewhereInThisVersion|manual=Administrator|topic=CallbackDeveloper|display text='''Developer''' tab}} to get more information.
  
 
The portal also includes Callback tutorials; select '''Engagement''' in the [https://developer.genesyscloud.com/tutorials/ tutorial list].
 
The portal also includes Callback tutorials; select '''Engagement''' in the [https://developer.genesyscloud.com/tutorials/ tutorial list].
|structuredtextwide=
 
|FAQHeading=
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
Line 36: Line 29:
 
|anchor=AccessingCallbackAPIs
 
|anchor=AccessingCallbackAPIs
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
 
|image=
 
 
|structuredtext=To access Callback APIs from Web or Mobile applications, the following items are mandatory:
 
|structuredtext=To access Callback APIs from Web or Mobile applications, the following items are mandatory:
  
Line 45: Line 36:
 
#:<tt><nowiki>https://gapi-<region>.genesyscloud.com/engagement/v3</nowiki></tt>
 
#:<tt><nowiki>https://gapi-<region>.genesyscloud.com/engagement/v3</nowiki></tt>
 
#:You will receive the <tt><nowiki><region></nowiki></tt> information from Genesys at the same time that you receive your API key.
 
#:You will receive the <tt><nowiki><region></nowiki></tt> information from Genesys at the same time that you receive your API key.
#:Consult the [https://developer.genesyscloud.com/reference/engagement/ Genesys Engage Cloud Developer Center] for complete endpoint paths.
+
#:Consult the [https://developer.genesyscloud.com/reference/engagement/ Genesys Multicloud CX Developer Center] for complete endpoint paths.
|structuredtextwide=
+
|Status=No
|FAQHeading=
+
}}{{Section
 +
|sectionHeading=Using the APIs to book a callback
 +
|anchor=CreateCallbackWithAPIs
 +
|alignment=Vertical
 +
|structuredtext=Before you book a callback using the APIs, read {{Link-SomewhereInThisVersion|manual=Administrator|topic=CallbackDeveloper|anchor=BookCallbackWithAPI|display text=Booking a callback using the callbacks create API}} for information about callback settings that you must check manually ''before'' you create the callback.
 +
 
 +
For information about all of the settings relevant for callbacks, see {{Link-AnywhereElse|product=PEC-ROU|version=Current|manual=Designer|topic=CallbackV2|anchor=callback_settings|display text=the CALLBACK_SETTINGS data table}} documentation in the ''Designer User's Guide''.
 
|Status=No
 
|Status=No
 
}}
 
}}
 
}}
 
}}

Latest revision as of 21:15, November 9, 2021

This topic is part of the manual Callback Administrator's Guide for version Current of Callback.

Depending on your role, you might work with the APIs that are available for Genesys Engagement Services (GES)/Callback. This article provides links to documentation and tutorials for the GES REST APIs and tells you what is required to access Callback APIs from web or mobile applications.

Related documentation:

The documentation for REST APIs is available through the Genesys Multicloud CX Developer Center.

The GES/Callback APIs are:

  • Callbacks — Create, retrieve, cancel callbacks.
  • Estimated Wait Time —Retrieve Estimated Wait Time.
  • Availability — Retrieve time slots for a callback, matching Office Hours.
  • Call In — Request the phone number to call in.
  • Queue Status — Retrieve information about a queue's readiness to accept callbacks.
  • Statistics — Provides a proxy to the GWS Statistics API. To use the Callback Statistics API, you must first register your GWS credentials in the Callback UI (Developer > Credential Management > GWS Credentials tab).

You can test queries in the Developer Center. If you receive error messages while testing your application, use the Developer tab to get more information.

The portal also includes Callback tutorials; select Engagement in the tutorial list.

Accessing Callback APIs

To access Callback APIs from Web or Mobile applications, the following items are mandatory:

  1. Request an API key from your Genesys Customer Care Representative. You need to send this as the value for x-api-key in the header of every request.
  2. In your request to Customer Care, specify the list of domains from which you expect your API requests will originate. Genesys uses this list to configure cross-origin resource sharing (CORS) domains for you (this is not currently available as self-service configuration).
  3. The base URL for your API endpoints is:
    https://gapi-<region>.genesyscloud.com/engagement/v3
    You will receive the <region> information from Genesys at the same time that you receive your API key.
    Consult the Genesys Multicloud CX Developer Center for complete endpoint paths.

Using the APIs to book a callback

Before you book a callback using the APIs, read Booking a callback using the callbacks create API for information about callback settings that you must check manually before you create the callback.

For information about all of the settings relevant for callbacks, see the CALLBACK_SETTINGS data table documentation in the Designer User's Guide.

Comments or questions about this documentation? Contact us for support!