Skip to main content
GET
Get Chat Widget configuration

Overview

Retrieve the complete Chat Widget (Chat SDK) configuration for a specific agent. This includes all visual customizations for the chat window and launcher button, the list of allowed origins for CORS, and whether the widget is currently enabled. Use this endpoint to inspect the current widget settings before making updates via Update Chat Widget Config.

Required Permission

agents

Path Parameters

Query Parameters

Example cURL

Response

Success (200)

Response Fields

response.chatSdkConfig

windowCustomizations

widgetCustomizations

Error Responses

404 Not Found - Agent does not exist

Use Cases

  • Retrieving widget configuration before updating it
  • Displaying current widget settings in an administration dashboard
  • Exporting widget configuration for backup or audit purposes
Fetch the current configuration before making updates so you can perform partial modifications without overwriting fields you intend to keep.
Save the requestId from every response. You will need it if you contact Inya support to trace a specific request.

Authorizations

x-api-key
string
header
required

API key with 'agents' permission

Path Parameters

botId
string
required

Unique identifier of the agent

Query Parameters

environment
enum<string>
default:development

Target environment. Default is development.

Available options:
development,
staging,
production

Response

Chat widget config retrieved successfully

status
string
Example:

"success"

requestId
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

message
string
response
object