curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/widget/v2/settings \
--header 'key: <key>' \
--header 'secret: <secret>'{
"data": {
"statusCode": 200,
"success": true,
"body": {
"data": [
{
"configuration": {
"name": "Test Chat Widget",
"style": {
"docked_layout_icon_background": "#03a9f4",
"custom_js": "v2",
"docked_layout_icon_close": "https://widget-js.cometchat.io/v2/resources/chat_close.svg",
"custom_css": "string",
"docked_layout_icon_open": "https://widget-js.cometchat.io/v2/resources/chat_bubble.svg",
"primary_color": "#03A9F4",
"foreground_color": "#000000",
"background_color": "#FFFFFF",
"override_system_background_colors": true
},
"main": {
"allow_message_reactions": true,
"enable_collaborative_whiteboard": true,
"enable_collaborative_document": true,
"enable_video_calling": true,
"enable_editing_messages": true,
"enable_sending_messages": true,
"allow_moderator_to_delete_member_messages": true,
"join_or_leave_groups": true,
"block_user": true,
"enable_voice_calling": true,
"send_emojis": true,
"send_files": true,
"view_shared_media": true,
"enable_sound_for_messages": true,
"send_photos_videos": true,
"show_stickers": true,
"enable_sound_for_calls": true,
"show_call_notifications": true,
"view_group_members": true,
"allow_delete_groups": true,
"allow_kick_ban_members": true,
"hide_join_leave_notifications": true,
"enable_message_translation": true,
"send_message_in_private_to_group_member": true,
"create_groups": true,
"show_typing_indicators": true,
"show_user_presence": true,
"allow_add_members": true,
"enable_deleting_messages": true,
"enable_threaded_replies": true,
"show_delivery_read_indicators": true,
"hide_deleted_messages": true,
"allow_creating_polls": true,
"allow_promote_demote_members": true,
"share_live_reactions": true,
"show_emojis_in_larger_size": true,
"allow_mention_members": false,
"enable_replying_to_messages": false,
"enable_share_copy_forward_messages": false,
"highlight_messages_from_moderators": false,
"show_call_recording_option": false,
"send_voice_notes": true,
"send_gifs": false,
"share_location": false,
"set_groups_in_qna_mode_by_moderators": false,
"send_reply_in_private_to_group_member": false
},
"version": "v2",
"sidebar": {
"group_listing": "public_and_password_protected_groups",
"start_a_new_conversation": "all_chats",
"user_settings": true,
"calls": true,
"chats": true,
"user_listing": "all_users",
"groups": true,
"recent_chat_listing": "all_chats",
"sidebar_navigation_sequence": [
"chats",
"users",
"groups",
"calls",
"settings"
],
"users": true
},
"appId": "564663ddb71bbb"
},
"widgetId": "c59766f0-5318-4c82-b6b3-fa09ee80a506"
}
]
},
"responseTime": 0.11409401893615723
}
}Chat Widgets List all the Chat Widgets for an app.
curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/widget/v2/settings \
--header 'key: <key>' \
--header 'secret: <secret>'{
"data": {
"statusCode": 200,
"success": true,
"body": {
"data": [
{
"configuration": {
"name": "Test Chat Widget",
"style": {
"docked_layout_icon_background": "#03a9f4",
"custom_js": "v2",
"docked_layout_icon_close": "https://widget-js.cometchat.io/v2/resources/chat_close.svg",
"custom_css": "string",
"docked_layout_icon_open": "https://widget-js.cometchat.io/v2/resources/chat_bubble.svg",
"primary_color": "#03A9F4",
"foreground_color": "#000000",
"background_color": "#FFFFFF",
"override_system_background_colors": true
},
"main": {
"allow_message_reactions": true,
"enable_collaborative_whiteboard": true,
"enable_collaborative_document": true,
"enable_video_calling": true,
"enable_editing_messages": true,
"enable_sending_messages": true,
"allow_moderator_to_delete_member_messages": true,
"join_or_leave_groups": true,
"block_user": true,
"enable_voice_calling": true,
"send_emojis": true,
"send_files": true,
"view_shared_media": true,
"enable_sound_for_messages": true,
"send_photos_videos": true,
"show_stickers": true,
"enable_sound_for_calls": true,
"show_call_notifications": true,
"view_group_members": true,
"allow_delete_groups": true,
"allow_kick_ban_members": true,
"hide_join_leave_notifications": true,
"enable_message_translation": true,
"send_message_in_private_to_group_member": true,
"create_groups": true,
"show_typing_indicators": true,
"show_user_presence": true,
"allow_add_members": true,
"enable_deleting_messages": true,
"enable_threaded_replies": true,
"show_delivery_read_indicators": true,
"hide_deleted_messages": true,
"allow_creating_polls": true,
"allow_promote_demote_members": true,
"share_live_reactions": true,
"show_emojis_in_larger_size": true,
"allow_mention_members": false,
"enable_replying_to_messages": false,
"enable_share_copy_forward_messages": false,
"highlight_messages_from_moderators": false,
"show_call_recording_option": false,
"send_voice_notes": true,
"send_gifs": false,
"share_location": false,
"set_groups_in_qna_mode_by_moderators": false,
"send_reply_in_private_to_group_member": false
},
"version": "v2",
"sidebar": {
"group_listing": "public_and_password_protected_groups",
"start_a_new_conversation": "all_chats",
"user_settings": true,
"calls": true,
"chats": true,
"user_listing": "all_users",
"groups": true,
"recent_chat_listing": "all_chats",
"sidebar_navigation_sequence": [
"chats",
"users",
"groups",
"calls",
"settings"
],
"users": true
},
"appId": "564663ddb71bbb"
},
"widgetId": "c59766f0-5318-4c82-b6b3-fa09ee80a506"
}
]
},
"responseTime": 0.11409401893615723
}
}AppID in which the extension has to be enabled/disabled
Create Chat Widget
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Name of the Chat Widget
Version is always v2
Show child attributes
The background color for Icon in the Docked mode
The image to be displayed on the Docked layout icon when the Widget is closed.
The image to be displayed on the Docked layout icon when the widget is opened.
Custom CSS if required
Custom JS if required
Primary Colour
Foreground Colour
Background Colour
Override System Background Colours
Show child attributes
Show Users section in the Sidebar
Show Groups section in the Sidebar
Show Calls section in the Sidebar
Which chats should be displayed in the Recent chat section
Which users should be displayed in the User list
Order of sections in Sidebar. Do not add any new values.
Show Chats section in the Sidebar
Show User Settings section in the Sidebar
Start a new Conversation
Group Listing
Show child attributes
Enable Polls extension to allow sending polls
Allow deletion of groups
Allow kick/ban group member actions
Enable Reactions extension to allow reactions to messages
Allow moderators to delete messages from group
Allow changing scopes of group members
Allow blocking a user
Allow creating new groups
Enable Collaborative Document extension before enabling this
Enable Collaborative Whiteboard extension before enabling this.
Allow deletion of messages from chats
Allow edition of messages from chats
Enable Message translation extension before enabling this.
Allow sending messages
Play sound for incoming calls
Play sound for incoming messages
Allow creation of message threads
Enable video calling
Enable voice calling
Hide message bubbles for deleted messages
Hide the notifications in chat when someone joins or leaves a group
Allow joining/leaving groups
Show the emojis keyboard
Allow sending private messages to group members
Allow sending Photos and Videos in chat
Allow sending Live Reactions
Show notification for incoming calls
Show delivery and read receipts
Display larger emojis when sending one, two or three in a message.
Allow adding new group members
Allow sending files in chats
Enable Stickers extension before enabling this
Show typing... indicators in chats
Show user preferences
Allow viewing group members
Allow Mention Members
Enable Replying To Messages
Enable Share Copy Forward Messages
Highlight Messages From Moderators
Show Call Recording Option
Send Voice Notes
Send Gifs
Share Location
Allow viewing all Shared media in a group
Set Groups In Qna Mode By Moderators
Send Reply In Private To Group Member
Cometchat appid
Widget Id that need to modify
Was this page helpful?