Skip to main content

Retrieve integration configuration

Retrieving integration configuration​

To fetch the configuration for a web integration, make a GET HTTP request to:

https://channels-ws.moveo.ai/v1/web/{INTEGRATION-ID}

If the integration has trusted domains, send an Origin header with one of those domains. Otherwise the request fails with a 403 status code.

This will return the parameters of the web integration you setup in Moveo. This can be useful for customizing the UI of the integration, or check if the integrations needs a required field filled by the user.

Configuration types​

Below is a comprehensive list of all available configuration options:

FieldTypeDescription
session_timeoutintegerTime in seconds before a session expires
domainsstring[]List of trusted domains where the widget can be embedded
namestringName of the integration
avatarstringURL of the avatar image
header_titlestringTitle shown in the widget header
icon_sizestringSize of the widget icon
window_sizestringSize of the chat window
show_powered_bybooleanWhether to show the "Powered by Moveo" text
accent_colorstringPrimary color used in the widget (hex code)
background_colorstringBackground color of the widget (hex code)
welcome_messagestringInitial message shown to users
welcome_trigger_messagestringDefault trigger message
optional_fieldsstring[]List of optional visitor information fields
required_fieldsstring[]List of required visitor information fields
themestringColor theme of the widget
widget_positionstringPosition of the widget on the page
focus_trapbooleanWhether to trap focus within the widget
auto_openbooleanWhether the widget opens automatically
sticky_sessionbooleanWhether to maintain session across page reloads
bubble_imagestringURL of the bubble image
languagestringDefault language of the widget
show_surveybooleanWhether to show post-chat survey
waiting_time_thresholdintegerTime threshold for waiting messages
external_urls_limitintegerLimit for external URLs
file_uploadbooleanWhether file upload is enabled
rate_responsesbooleanWhether users can rate responses
widget_alignmentstringAlignment of the widget on the page

Launcher configuration​

FieldTypeDescription
launcher.sizestringSize of the launcher button
launcher.showbooleanWhether to show the launcher
launcher.typestringType of launcher

Welcome screen configuration​

FieldTypeDescription
welcome_screen.greetingstringWelcome screen greeting text
welcome_screen.enabledbooleanWhether welcome screen is enabled
welcome_screen.startersstring[]List of starter messages

Visitor information configuration​

FieldTypeDescription
visitor_information.headlinestringHeadline for visitor information form
visitor_information.locationbooleanWhether to collect location
visitor_information.fields[].fieldstringField identifier
visitor_information.fields[].requiredbooleanWhether the field is required
visitor_information.fields[].variablestringVariable name for the field
visitor_information.fields[].languagesstring[]Supported languages for the field
visitor_information.disclaimer.htmlstringHTML content of the disclaimer
visitor_information.disclaimer.enabledbooleanWhether disclaimer is enabled

Page triggers configuration​

FieldTypeDescription
page_triggers[].opening_messagestringMessage shown when trigger is activated
page_triggers[].trigger_messagestringMessage that triggers the widget

Example response​

{
"session_timeout": 3600,
"domains": ["https://trusted-domain.com"],
"show_powered_by": false,
"accent_color": "#fff",
"background_color": "#1b66d6",
"welcome_message": "Welcome to Move!",
"welcome_trigger_message": "defaultstartmessage",
"theme": "dark",
"widget_position": "embed",
"focus_trap": true,
"auto_open": true,
"bubble_image": "https://your-image-url.com/image.png",
"show_survey": true,
"launcher": {
"type": "bubble"
},
"visitor_information": {
"location": true,
"fields": [
{
"field": "email",
"required": true
}
],
"disclaimer": {
"html": "This conversation is recorded for quality assurance purposes.",
"enabled": true
}
}
}