Revision as of 18:56, February 13, 2018 by Djudge (talk | contribs) (Options)
Jump to: navigation, search

Configuration

Description

Callback and CallbackService share the configuration namespace '_genesys.widgets.callback'. Callback has UI options while CallbackService has connection options.

Example

window._genesys.widgets.callback = {

	apikey: 'n3eNkgLLgLKXREBMYjGm6lygOHHOK8VA',
	dataURL: 'http://fce-w0147.us.int.genesyslab.com:8010/genesys/1/service/callback/samples',
	userData: {},
	countryCodes: true,
	formValidation: false,
};

Options

Name Type Description Default Required
apikey string API access token. Please contact your Genesys representative to obtain your API Secure token. n/a Yes
dataURL URL String URL of GMS callback server n/a Always
userData object Arbitrary JSON attached data to include while scheduling a callback {}
ajaxTimeout number Number of milliseconds to wait before AJAX timeout 3000
Comments or questions about this documentation? Contact us for support!