(→Options) |
(Update with the copy of version: draft) |
||
Line 25: | Line 25: | ||
| apikey | | apikey | ||
| string | | string | ||
− | | API access token. Please contact your Genesys representative to obtain your API | + | | API access token. Please contact your Genesys representative to obtain your API access token. |
| n/a | | n/a | ||
| Yes | | Yes |
Revision as of 20:37, February 14, 2018
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 access 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!