Create Widget
Endpoint to create Widget
Body Description
The title is required
The subTitle is required
The primary color is required
The secondary color is required
The primary AI color is required
The secondary AI color is required
The AI first message is required
The primary user color is required
The secondary user color is required
Response Description
Below you will see the description of the bot response
Unique identifier for the widget.
ID of the associated institution.
Title of the widget.
Subtitle of the widget.
Optional ID of the header icon file.
Primary color configuration for the widget.
Secondary color configuration for the widget.
Optional ID of the widget icon file.
Primary AI color setting.
Secondary AI color setting.
Optional ID of the avatar icon file.
Initial message displayed by the AI.
Primary user color configuration.
Secondary user color configuration.
Optional audio voice setting.
Indicates if voice functionality is active.
List of default messages for the widget.
Optional header icon details.
Optional widget icon details.
Optional avatar icon details.
Indicates if the widget is public.
Indicates if the widget is active.
Activation status of the widget.
List of users who have marked the widget as a favorite.
Segurança
Para acessar este endpoint, é necessário enviar um token de acesso válido através do cabeçalho de autorização (Authorization) da requisição. Além disso, a API é protegida por outras medidas de segurança para proteger os dados dos usuários.