cURL
curl --request PUT \ --url https://chat.api.toolzz.com.br/api/v1/widget/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "title": "<string>", "subTitle": "<string>", "primaryColor": "<string>", "secondaryColor": "<string>", "primaryAIColor": "<string>", "secondaryAIColor": "<string>", "aiFirstMessage": "<string>", "primaryUserColor": "<string>", "secondaryUserColor": "<string>" }'
{ "id": "<string>", "botId": "<string>", "title": "<string>", "subTitle": "<string>", "headerIconFileId": "<string>", "primaryColor": "<string>", "secondaryColor": "<string>", "widgetIconFileId": "<string>", "primaryAIColor": "<string>", "secondaryAIColor": "<string>", "avatarIconFileId": "<string>", "aiFirstMessage": "<string>", "primaryUserColor": "<string>", "secondaryUserColor": "<string>", "audioVoice": "<string>", "voiceActive": true, "defaultMessages": [ { "text": "<string>", "position": 123 } ] }
Endpoint para atualizar Widget
Show items