Chilkat Online Tools

lianja / Support API / Update Account Settings

Back to Collection Items

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loHttp = createobject("CkHttp")

loHttp.BasicAuth = .T.
loHttp.Login = "login"
loHttp.Password = "password"

loHttp.SetRequestHeader("Accept","application/json")

loResp = loHttp.QuickRequest("PUT","https://example.zendesk.com/api/v2/account/settings")
if (loHttp.LastMethodSuccess = .F.) then
    ? loHttp.LastErrorText
    release loHttp
    return
endif

loSbResponseBody = createobject("CkStringBuilder")
loResp.GetBodySb(loSbResponseBody)

loJResp = createobject("CkJsonObject")
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = .F.

? "Response Body:"
? loJResp.Emit()

lnRespStatusCode = loResp.StatusCode
? "Response Status Code = " + str(lnRespStatusCode)
if (lnRespStatusCode >= 400) then
    ? "Response Header:"
    ? loResp.Header
    ? "Failed."
    release loResp
    release loHttp
    release loSbResponseBody
    release loJResp
    return
endif

release loResp

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "settings": {
//     "active_features": {
//       "advanced_analytics": "<boolean>",
//       "agent_forwarding": "<boolean>",
//       "allow_ccs": "<boolean>",
//       "allow_email_template_customization": "<boolean>",
//       "automatic_answers": "<boolean>",
//       "bcc_archiving": "<boolean>",
//       "benchmark_opt_out": "<boolean>",
//       "business_hours": "<boolean>",
//       "chat": "<boolean>",
//       "chat_about_my_ticket": "<boolean>",
//       "csat_reason_code": "<boolean>",
//       "custom_dkim_domain": "<boolean>",
//       "customer_context_as_default": "<boolean>",
//       "customer_satisfaction": "<boolean>",
//       "dynamic_contents": "<boolean>",
//       "explore": "<boolean>",
//       "explore_on_support_ent_plan": "<boolean>",
//       "explore_on_support_pro_plan": "<boolean>",
//       "facebook": "<boolean>",
//       "facebook_login": "<boolean>",
//       "fallback_composer": "<boolean>",
//       "forum_analytics": "<boolean>",
//       "good_data_and_explore": "<boolean>",
//       "google_login": "<boolean>",
//       "insights": "<boolean>",
//       "is_abusive": "<boolean>",
//       "light_agents": "<boolean>",
//       "markdown": "<boolean>",
//       "on_hold_status": "<boolean>",
//       "rich_content_in_emails": "<boolean>",
//       "sandbox": "<boolean>",
//       "satisfaction_prediction": "<boolean>",
//       "suspended_ticket_notification": "<boolean>",
//       "ticket_forms": "<boolean>",
//       "ticket_tagging": "<boolean>",
//       "topic_suggestion": "<boolean>",
//       "twitter": "<boolean>",
//       "twitter_login": "<boolean>",
//       "user_org_fields": "<boolean>",
//       "user_tagging": "<boolean>",
//       "voice": "<boolean>"
//     },
//     "agents": {
//       "agent_workspace": "<boolean>",
//       "aw_self_serve_migration_enabled": "<boolean>",
//       "focus_mode": "<boolean>",
//       "idle_timeout_enabled": "<boolean>",
//       "unified_agent_statuses": "<boolean>"
//     },
//     "api": {
//       "accepted_api_agreement": "<boolean>",
//       "api_password_access": "<string>",
//       "api_token_access": "<string>"
//     },
//     "apps": {
//       "create_private": "<boolean>",
//       "create_public": "<boolean>",
//       "use": "<boolean>"
//     },
//     "billing": {
//       "backend": "<string>"
//     },
//     "branding": {
//       "favicon_url": "<string>",
//       "header_color": "<string>",
//       "header_logo_url": "<string>",
//       "page_background_color": "<string>",
//       "tab_background_color": "<string>",
//       "text_color": "<string>"
//     },
//     "brands": {
//       "default_brand_id": "<integer>",
//       "require_brand_on_new_tickets": "<boolean>"
//     },
//     "cdn": {
//       "cdn_provider": "<string>",
//       "fallback_cdn_provider": "<string>",
//       "hosts": [
//         {
//           "name": "<string>",
//           "url": "<string>"
//         },
//         {
//           "name": "<string>",
//           "url": "<string>"
//         }
//       ]
//     },
//     "chat": {
//       "available": "<boolean>",
//       "enabled": "<boolean>",
//       "integrated": "<boolean>",
//       "maximum_request_count": "<integer>",
//       "welcome_message": "<string>"
//     },
//     "cross_sell": {
//       "show_chat_tooltip": "<boolean>",
//       "xsell_source": "<string>"
//     },
//     "gooddata_advanced_analytics": {
//       "enabled": "<boolean>"
//     },
//     "google_apps": {
//       "has_google_apps": "<boolean>",
//       "has_google_apps_admin": "<boolean>"
//     },
//     "groups": {
//       "check_group_name_uniqueness": "<boolean>"
//     },
//     "limits": {
//       "attachment_size": "<integer>"
//     },
//     "localization": {
//       "locale_ids": [
//         "<integer>",
//         "<integer>"
//       ]
//     },
//     "lotus": {
//       "pod_id": "<integer>",
//       "prefer_lotus": "<boolean>",
//       "reporting": "<boolean>"
//     },
//     "metrics": {
//       "account_size": "<string>"
//     },
//     "onboarding": {
//       "checklist_onboarding_version": "<integer>",
//       "onboarding_segments": "<string>",
//       "product_sign_up": "<string>"
//     },
//     "routing": {
//       "autorouting_tag": "<string>",
//       "enabled": "<boolean>",
//       "max_email_capacity": "<integer>",
//       "max_messaging_capacity": "<integer>",
//       "reassignment_messaging_enabled": "<boolean>",
//       "reassignment_messaging_timeout": "<integer>",
//       "reassignment_talk_timeout": "<integer>"
//     },
//     "rule": {
//       "macro_most_used": "<boolean>",
//       "macro_order": "<string>",
//       "skill_based_filtered_views": [
//         {
//           "in523": 60303840.72385332
//         },
//         {
//           "estc": "eu aliquip id"
//         }
//       ],
//       "using_skill_based_routing": "<boolean>"
//     },
//     "side_conversations": {
//       "email_channel": "<boolean>",
//       "msteams_channel": "<boolean>",
//       "show_in_context_panel": "<boolean>",
//       "slack_channel": "<boolean>",
//       "tickets_channel": "<boolean>"
//     },
//     "statistics": {
//       "forum": "<boolean>",
//       "rule_usage": "<boolean>",
//       "search": "<boolean>"
//     },
//     "ticket_form": {
//       "raw_ticket_forms_instructions": "<string>",
//       "ticket_forms_instructions": "<string>"
//     },
//     "ticket_sharing_partners": {
//       "support_addresses": [
//         "<string>",
//         "<string>"
//       ]
//     },
//     "tickets": {
//       "accepted_new_collaboration_tos": "<boolean>",
//       "agent_collision": "<boolean>",
//       "agent_ticket_deletion": "<boolean>",
//       "allow_group_reset": "<boolean>",
//       "assign_default_organization": "<boolean>",
//       "assign_tickets_upon_solve": "<boolean>",
//       "auto_updated_ccs_followers_rules": "<boolean>",
//       "collaboration": "<boolean>",
//       "comments_public_by_default": "<boolean>",
//       "email_attachments": "<boolean>",
//       "emoji_autocompletion": "<boolean>",
//       "follower_and_email_cc_collaborations": "<boolean>",
//       "has_color_text": "<boolean>",
//       "is_first_comment_private_enabled": "<boolean>",
//       "light_agent_email_ccs_allowed": "<boolean>",
//       "list_empty_views": "<boolean>",
//       "list_newest_comments_first": "<boolean>",
//       "markdown_ticket_comments": "<boolean>",
//       "maximum_personal_views_to_list": "<integer>",
//       "private_attachments": "<boolean>",
//       "rich_text_comments": "<boolean>",
//       "status_hold": "<boolean>",
//       "tagging": "<boolean>",
//       "using_skill_based_routing": "<boolean>"
//     },
//     "twitter": {
//       "shorten_url": "<string>"
//     },
//     "user": {
//       "agent_created_welcome_emails": "<boolean>",
//       "end_user_phone_number_validation": "<boolean>",
//       "have_gravatars_enabled": "<boolean>",
//       "language_selection": "<boolean>",
//       "multiple_organizations": "<boolean>",
//       "tagging": "<boolean>",
//       "time_zone_selection": "<boolean>"
//     },
//     "voice": {
//       "agent_confirmation_when_forwarding": "<boolean>",
//       "agent_wrap_up_after_calls": "<boolean>",
//       "enabled": "<boolean>",
//       "logging": "<boolean>",
//       "maximum_queue_size": "<integer>",
//       "maximum_queue_wait_time": "<integer>",
//       "only_during_business_hours": "<boolean>",
//       "outbound_enabled": "<boolean>",
//       "recordings_public": "<boolean>",
//       "uk_mobile_forwarding": "<boolean>"
//     }
//   }
// }

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

lcAdvanced_analytics = loJResp.StringOf("settings.active_features.advanced_analytics")
lcAgent_forwarding = loJResp.StringOf("settings.active_features.agent_forwarding")
lcAllow_ccs = loJResp.StringOf("settings.active_features.allow_ccs")
lcAllow_email_template_customization = loJResp.StringOf("settings.active_features.allow_email_template_customization")
lcAutomatic_answers = loJResp.StringOf("settings.active_features.automatic_answers")
lcBcc_archiving = loJResp.StringOf("settings.active_features.bcc_archiving")
lcBenchmark_opt_out = loJResp.StringOf("settings.active_features.benchmark_opt_out")
lcBusiness_hours = loJResp.StringOf("settings.active_features.business_hours")
lcChat = loJResp.StringOf("settings.active_features.chat")
lcChat_about_my_ticket = loJResp.StringOf("settings.active_features.chat_about_my_ticket")
lcCsat_reason_code = loJResp.StringOf("settings.active_features.csat_reason_code")
lcCustom_dkim_domain = loJResp.StringOf("settings.active_features.custom_dkim_domain")
lcCustomer_context_as_default = loJResp.StringOf("settings.active_features.customer_context_as_default")
lcCustomer_satisfaction = loJResp.StringOf("settings.active_features.customer_satisfaction")
lcDynamic_contents = loJResp.StringOf("settings.active_features.dynamic_contents")
lcExplore = loJResp.StringOf("settings.active_features.explore")
lcExplore_on_support_ent_plan = loJResp.StringOf("settings.active_features.explore_on_support_ent_plan")
lcExplore_on_support_pro_plan = loJResp.StringOf("settings.active_features.explore_on_support_pro_plan")
lcFacebook = loJResp.StringOf("settings.active_features.facebook")
lcFacebook_login = loJResp.StringOf("settings.active_features.facebook_login")
lcFallback_composer = loJResp.StringOf("settings.active_features.fallback_composer")
lcForum_analytics = loJResp.StringOf("settings.active_features.forum_analytics")
lcGood_data_and_explore = loJResp.StringOf("settings.active_features.good_data_and_explore")
lcGoogle_login = loJResp.StringOf("settings.active_features.google_login")
lcInsights = loJResp.StringOf("settings.active_features.insights")
lcIs_abusive = loJResp.StringOf("settings.active_features.is_abusive")
lcLight_agents = loJResp.StringOf("settings.active_features.light_agents")
lcMarkdown = loJResp.StringOf("settings.active_features.markdown")
lcOn_hold_status = loJResp.StringOf("settings.active_features.on_hold_status")
lcRich_content_in_emails = loJResp.StringOf("settings.active_features.rich_content_in_emails")
lcSandbox = loJResp.StringOf("settings.active_features.sandbox")
lcSatisfaction_prediction = loJResp.StringOf("settings.active_features.satisfaction_prediction")
lcSuspended_ticket_notification = loJResp.StringOf("settings.active_features.suspended_ticket_notification")
lcTicket_forms = loJResp.StringOf("settings.active_features.ticket_forms")
lcTicket_tagging = loJResp.StringOf("settings.active_features.ticket_tagging")
lcTopic_suggestion = loJResp.StringOf("settings.active_features.topic_suggestion")
lcTwitter = loJResp.StringOf("settings.active_features.twitter")
lcTwitter_login = loJResp.StringOf("settings.active_features.twitter_login")
lcUser_org_fields = loJResp.StringOf("settings.active_features.user_org_fields")
lcUser_tagging = loJResp.StringOf("settings.active_features.user_tagging")
lcVoice = loJResp.StringOf("settings.active_features.voice")
lcAgent_workspace = loJResp.StringOf("settings.agents.agent_workspace")
lcAw_self_serve_migration_enabled = loJResp.StringOf("settings.agents.aw_self_serve_migration_enabled")
lcFocus_mode = loJResp.StringOf("settings.agents.focus_mode")
lcIdle_timeout_enabled = loJResp.StringOf("settings.agents.idle_timeout_enabled")
lcUnified_agent_statuses = loJResp.StringOf("settings.agents.unified_agent_statuses")
lcAccepted_api_agreement = loJResp.StringOf("settings.api.accepted_api_agreement")
lcApi_password_access = loJResp.StringOf("settings.api.api_password_access")
lcApi_token_access = loJResp.StringOf("settings.api.api_token_access")
lcCreate_private = loJResp.StringOf("settings.apps.create_private")
lcCreate_public = loJResp.StringOf("settings.apps.create_public")
lcUse = loJResp.StringOf("settings.apps.use")
lcBackend = loJResp.StringOf("settings.billing.backend")
lcFavicon_url = loJResp.StringOf("settings.branding.favicon_url")
lcHeader_color = loJResp.StringOf("settings.branding.header_color")
lcHeader_logo_url = loJResp.StringOf("settings.branding.header_logo_url")
lcPage_background_color = loJResp.StringOf("settings.branding.page_background_color")
lcTab_background_color = loJResp.StringOf("settings.branding.tab_background_color")
lcText_color = loJResp.StringOf("settings.branding.text_color")
lcDefault_brand_id = loJResp.StringOf("settings.brands.default_brand_id")
lcRequire_brand_on_new_tickets = loJResp.StringOf("settings.brands.require_brand_on_new_tickets")
lcCdn_provider = loJResp.StringOf("settings.cdn.cdn_provider")
lcFallback_cdn_provider = loJResp.StringOf("settings.cdn.fallback_cdn_provider")
lcAvailable = loJResp.StringOf("settings.chat.available")
lcEnabled = loJResp.StringOf("settings.chat.enabled")
lcIntegrated = loJResp.StringOf("settings.chat.integrated")
lcMaximum_request_count = loJResp.StringOf("settings.chat.maximum_request_count")
lcWelcome_message = loJResp.StringOf("settings.chat.welcome_message")
lcShow_chat_tooltip = loJResp.StringOf("settings.cross_sell.show_chat_tooltip")
lcXsell_source = loJResp.StringOf("settings.cross_sell.xsell_source")
lcGooddata_advanced_analyticsEnabled = loJResp.StringOf("settings.gooddata_advanced_analytics.enabled")
lcHas_google_apps = loJResp.StringOf("settings.google_apps.has_google_apps")
lcHas_google_apps_admin = loJResp.StringOf("settings.google_apps.has_google_apps_admin")
lcCheck_group_name_uniqueness = loJResp.StringOf("settings.groups.check_group_name_uniqueness")
lcAttachment_size = loJResp.StringOf("settings.limits.attachment_size")
lcPod_id = loJResp.StringOf("settings.lotus.pod_id")
lcPrefer_lotus = loJResp.StringOf("settings.lotus.prefer_lotus")
lcReporting = loJResp.StringOf("settings.lotus.reporting")
lcAccount_size = loJResp.StringOf("settings.metrics.account_size")
lcChecklist_onboarding_version = loJResp.StringOf("settings.onboarding.checklist_onboarding_version")
lcOnboarding_segments = loJResp.StringOf("settings.onboarding.onboarding_segments")
lcProduct_sign_up = loJResp.StringOf("settings.onboarding.product_sign_up")
lcAutorouting_tag = loJResp.StringOf("settings.routing.autorouting_tag")
lcRoutingEnabled = loJResp.StringOf("settings.routing.enabled")
lcMax_email_capacity = loJResp.StringOf("settings.routing.max_email_capacity")
lcMax_messaging_capacity = loJResp.StringOf("settings.routing.max_messaging_capacity")
lcReassignment_messaging_enabled = loJResp.StringOf("settings.routing.reassignment_messaging_enabled")
lcReassignment_messaging_timeout = loJResp.StringOf("settings.routing.reassignment_messaging_timeout")
lcReassignment_talk_timeout = loJResp.StringOf("settings.routing.reassignment_talk_timeout")
lcMacro_most_used = loJResp.StringOf("settings.rule.macro_most_used")
lcMacro_order = loJResp.StringOf("settings.rule.macro_order")
lcUsing_skill_based_routing = loJResp.StringOf("settings.rule.using_skill_based_routing")
lcEmail_channel = loJResp.StringOf("settings.side_conversations.email_channel")
lcMsteams_channel = loJResp.StringOf("settings.side_conversations.msteams_channel")
lcShow_in_context_panel = loJResp.StringOf("settings.side_conversations.show_in_context_panel")
lcSlack_channel = loJResp.StringOf("settings.side_conversations.slack_channel")
lcTickets_channel = loJResp.StringOf("settings.side_conversations.tickets_channel")
lcForum = loJResp.StringOf("settings.statistics.forum")
lcRule_usage = loJResp.StringOf("settings.statistics.rule_usage")
lcSearch = loJResp.StringOf("settings.statistics.search")
lcRaw_ticket_forms_instructions = loJResp.StringOf("settings.ticket_form.raw_ticket_forms_instructions")
lcTicket_forms_instructions = loJResp.StringOf("settings.ticket_form.ticket_forms_instructions")
lcAccepted_new_collaboration_tos = loJResp.StringOf("settings.tickets.accepted_new_collaboration_tos")
lcAgent_collision = loJResp.StringOf("settings.tickets.agent_collision")
lcAgent_ticket_deletion = loJResp.StringOf("settings.tickets.agent_ticket_deletion")
lcAllow_group_reset = loJResp.StringOf("settings.tickets.allow_group_reset")
lcAssign_default_organization = loJResp.StringOf("settings.tickets.assign_default_organization")
lcAssign_tickets_upon_solve = loJResp.StringOf("settings.tickets.assign_tickets_upon_solve")
lcAuto_updated_ccs_followers_rules = loJResp.StringOf("settings.tickets.auto_updated_ccs_followers_rules")
lcCollaboration = loJResp.StringOf("settings.tickets.collaboration")
lcComments_public_by_default = loJResp.StringOf("settings.tickets.comments_public_by_default")
lcEmail_attachments = loJResp.StringOf("settings.tickets.email_attachments")
lcEmoji_autocompletion = loJResp.StringOf("settings.tickets.emoji_autocompletion")
lcFollower_and_email_cc_collaborations = loJResp.StringOf("settings.tickets.follower_and_email_cc_collaborations")
lcHas_color_text = loJResp.StringOf("settings.tickets.has_color_text")
lcIs_first_comment_private_enabled = loJResp.StringOf("settings.tickets.is_first_comment_private_enabled")
lcLight_agent_email_ccs_allowed = loJResp.StringOf("settings.tickets.light_agent_email_ccs_allowed")
lcList_empty_views = loJResp.StringOf("settings.tickets.list_empty_views")
lcList_newest_comments_first = loJResp.StringOf("settings.tickets.list_newest_comments_first")
lcMarkdown_ticket_comments = loJResp.StringOf("settings.tickets.markdown_ticket_comments")
lcMaximum_personal_views_to_list = loJResp.StringOf("settings.tickets.maximum_personal_views_to_list")
lcPrivate_attachments = loJResp.StringOf("settings.tickets.private_attachments")
lcRich_text_comments = loJResp.StringOf("settings.tickets.rich_text_comments")
lcStatus_hold = loJResp.StringOf("settings.tickets.status_hold")
lcTagging = loJResp.StringOf("settings.tickets.tagging")
lcTicketsUsing_skill_based_routing = loJResp.StringOf("settings.tickets.using_skill_based_routing")
lcShorten_url = loJResp.StringOf("settings.twitter.shorten_url")
lcAgent_created_welcome_emails = loJResp.StringOf("settings.user.agent_created_welcome_emails")
lcEnd_user_phone_number_validation = loJResp.StringOf("settings.user.end_user_phone_number_validation")
lcHave_gravatars_enabled = loJResp.StringOf("settings.user.have_gravatars_enabled")
lcLanguage_selection = loJResp.StringOf("settings.user.language_selection")
lcMultiple_organizations = loJResp.StringOf("settings.user.multiple_organizations")
lcUserTagging = loJResp.StringOf("settings.user.tagging")
lcTime_zone_selection = loJResp.StringOf("settings.user.time_zone_selection")
lcAgent_confirmation_when_forwarding = loJResp.StringOf("settings.voice.agent_confirmation_when_forwarding")
lcAgent_wrap_up_after_calls = loJResp.StringOf("settings.voice.agent_wrap_up_after_calls")
lcVoiceEnabled = loJResp.StringOf("settings.voice.enabled")
lcLogging = loJResp.StringOf("settings.voice.logging")
lcMaximum_queue_size = loJResp.StringOf("settings.voice.maximum_queue_size")
lcMaximum_queue_wait_time = loJResp.StringOf("settings.voice.maximum_queue_wait_time")
lcOnly_during_business_hours = loJResp.StringOf("settings.voice.only_during_business_hours")
lcOutbound_enabled = loJResp.StringOf("settings.voice.outbound_enabled")
lcRecordings_public = loJResp.StringOf("settings.voice.recordings_public")
lcUk_mobile_forwarding = loJResp.StringOf("settings.voice.uk_mobile_forwarding")
i = 0
lnCount_i = loJResp.SizeOfArray("settings.cdn.hosts")
do while i < lnCount_i
    loJResp.I = i
    lcName = loJResp.StringOf("settings.cdn.hosts[i].name")
    lcUrl = loJResp.StringOf("settings.cdn.hosts[i].url")
    i = i + 1
enddo
i = 0
lnCount_i = loJResp.SizeOfArray("settings.localization.locale_ids")
do while i < lnCount_i
    loJResp.I = i
    lcStrVal = loJResp.StringOf("settings.localization.locale_ids[i]")
    i = i + 1
enddo
i = 0
lnCount_i = loJResp.SizeOfArray("settings.rule.skill_based_filtered_views")
do while i < lnCount_i
    loJResp.I = i
    lcIn523 = loJResp.StringOf("settings.rule.skill_based_filtered_views[i].in523")
    lcEstc = loJResp.StringOf("settings.rule.skill_based_filtered_views[i].estc")
    i = i + 1
enddo
i = 0
lnCount_i = loJResp.SizeOfArray("settings.ticket_sharing_partners.support_addresses")
do while i < lnCount_i
    loJResp.I = i
    lcStrVal = loJResp.StringOf("settings.ticket_sharing_partners.support_addresses[i]")
    i = i + 1
enddo


release loHttp
release loSbResponseBody
release loJResp

Curl Command

curl  -u login:password -X PUT
	-H "Accept: application/json"
https://example.zendesk.com/api/v2/account/settings

Postman Collection Item JSON

{
  "name": "Update Account Settings",
  "request": {
    "method": "PUT",
    "header": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/api/v2/account/settings",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "v2",
        "account",
        "settings"
      ]
    },
    "description": "Updates settings for the account. See [JSON Format](#json-format) above for the settings you can update.\n\n#### Allowed For\n\n* Admins\n"
  },
  "response": [
    {
      "name": "Success response",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v2/account/settings",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v2",
            "account",
            "settings"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"settings\": {\n    \"active_features\": {\n      \"advanced_analytics\": \"<boolean>\",\n      \"agent_forwarding\": \"<boolean>\",\n      \"allow_ccs\": \"<boolean>\",\n      \"allow_email_template_customization\": \"<boolean>\",\n      \"automatic_answers\": \"<boolean>\",\n      \"bcc_archiving\": \"<boolean>\",\n      \"benchmark_opt_out\": \"<boolean>\",\n      \"business_hours\": \"<boolean>\",\n      \"chat\": \"<boolean>\",\n      \"chat_about_my_ticket\": \"<boolean>\",\n      \"csat_reason_code\": \"<boolean>\",\n      \"custom_dkim_domain\": \"<boolean>\",\n      \"customer_context_as_default\": \"<boolean>\",\n      \"customer_satisfaction\": \"<boolean>\",\n      \"dynamic_contents\": \"<boolean>\",\n      \"explore\": \"<boolean>\",\n      \"explore_on_support_ent_plan\": \"<boolean>\",\n      \"explore_on_support_pro_plan\": \"<boolean>\",\n      \"facebook\": \"<boolean>\",\n      \"facebook_login\": \"<boolean>\",\n      \"fallback_composer\": \"<boolean>\",\n      \"forum_analytics\": \"<boolean>\",\n      \"good_data_and_explore\": \"<boolean>\",\n      \"google_login\": \"<boolean>\",\n      \"insights\": \"<boolean>\",\n      \"is_abusive\": \"<boolean>\",\n      \"light_agents\": \"<boolean>\",\n      \"markdown\": \"<boolean>\",\n      \"on_hold_status\": \"<boolean>\",\n      \"rich_content_in_emails\": \"<boolean>\",\n      \"sandbox\": \"<boolean>\",\n      \"satisfaction_prediction\": \"<boolean>\",\n      \"suspended_ticket_notification\": \"<boolean>\",\n      \"ticket_forms\": \"<boolean>\",\n      \"ticket_tagging\": \"<boolean>\",\n      \"topic_suggestion\": \"<boolean>\",\n      \"twitter\": \"<boolean>\",\n      \"twitter_login\": \"<boolean>\",\n      \"user_org_fields\": \"<boolean>\",\n      \"user_tagging\": \"<boolean>\",\n      \"voice\": \"<boolean>\"\n    },\n    \"agents\": {\n      \"agent_workspace\": \"<boolean>\",\n      \"aw_self_serve_migration_enabled\": \"<boolean>\",\n      \"focus_mode\": \"<boolean>\",\n      \"idle_timeout_enabled\": \"<boolean>\",\n      \"unified_agent_statuses\": \"<boolean>\"\n    },\n    \"api\": {\n      \"accepted_api_agreement\": \"<boolean>\",\n      \"api_password_access\": \"<string>\",\n      \"api_token_access\": \"<string>\"\n    },\n    \"apps\": {\n      \"create_private\": \"<boolean>\",\n      \"create_public\": \"<boolean>\",\n      \"use\": \"<boolean>\"\n    },\n    \"billing\": {\n      \"backend\": \"<string>\"\n    },\n    \"branding\": {\n      \"favicon_url\": \"<string>\",\n      \"header_color\": \"<string>\",\n      \"header_logo_url\": \"<string>\",\n      \"page_background_color\": \"<string>\",\n      \"tab_background_color\": \"<string>\",\n      \"text_color\": \"<string>\"\n    },\n    \"brands\": {\n      \"default_brand_id\": \"<integer>\",\n      \"require_brand_on_new_tickets\": \"<boolean>\"\n    },\n    \"cdn\": {\n      \"cdn_provider\": \"<string>\",\n      \"fallback_cdn_provider\": \"<string>\",\n      \"hosts\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\"\n        }\n      ]\n    },\n    \"chat\": {\n      \"available\": \"<boolean>\",\n      \"enabled\": \"<boolean>\",\n      \"integrated\": \"<boolean>\",\n      \"maximum_request_count\": \"<integer>\",\n      \"welcome_message\": \"<string>\"\n    },\n    \"cross_sell\": {\n      \"show_chat_tooltip\": \"<boolean>\",\n      \"xsell_source\": \"<string>\"\n    },\n    \"gooddata_advanced_analytics\": {\n      \"enabled\": \"<boolean>\"\n    },\n    \"google_apps\": {\n      \"has_google_apps\": \"<boolean>\",\n      \"has_google_apps_admin\": \"<boolean>\"\n    },\n    \"groups\": {\n      \"check_group_name_uniqueness\": \"<boolean>\"\n    },\n    \"limits\": {\n      \"attachment_size\": \"<integer>\"\n    },\n    \"localization\": {\n      \"locale_ids\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    \"lotus\": {\n      \"pod_id\": \"<integer>\",\n      \"prefer_lotus\": \"<boolean>\",\n      \"reporting\": \"<boolean>\"\n    },\n    \"metrics\": {\n      \"account_size\": \"<string>\"\n    },\n    \"onboarding\": {\n      \"checklist_onboarding_version\": \"<integer>\",\n      \"onboarding_segments\": \"<string>\",\n      \"product_sign_up\": \"<string>\"\n    },\n    \"routing\": {\n      \"autorouting_tag\": \"<string>\",\n      \"enabled\": \"<boolean>\",\n      \"max_email_capacity\": \"<integer>\",\n      \"max_messaging_capacity\": \"<integer>\",\n      \"reassignment_messaging_enabled\": \"<boolean>\",\n      \"reassignment_messaging_timeout\": \"<integer>\",\n      \"reassignment_talk_timeout\": \"<integer>\"\n    },\n    \"rule\": {\n      \"macro_most_used\": \"<boolean>\",\n      \"macro_order\": \"<string>\",\n      \"skill_based_filtered_views\": [\n        {\n          \"in523\": 60303840.72385332\n        },\n        {\n          \"estc\": \"eu aliquip id\"\n        }\n      ],\n      \"using_skill_based_routing\": \"<boolean>\"\n    },\n    \"side_conversations\": {\n      \"email_channel\": \"<boolean>\",\n      \"msteams_channel\": \"<boolean>\",\n      \"show_in_context_panel\": \"<boolean>\",\n      \"slack_channel\": \"<boolean>\",\n      \"tickets_channel\": \"<boolean>\"\n    },\n    \"statistics\": {\n      \"forum\": \"<boolean>\",\n      \"rule_usage\": \"<boolean>\",\n      \"search\": \"<boolean>\"\n    },\n    \"ticket_form\": {\n      \"raw_ticket_forms_instructions\": \"<string>\",\n      \"ticket_forms_instructions\": \"<string>\"\n    },\n    \"ticket_sharing_partners\": {\n      \"support_addresses\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    \"tickets\": {\n      \"accepted_new_collaboration_tos\": \"<boolean>\",\n      \"agent_collision\": \"<boolean>\",\n      \"agent_ticket_deletion\": \"<boolean>\",\n      \"allow_group_reset\": \"<boolean>\",\n      \"assign_default_organization\": \"<boolean>\",\n      \"assign_tickets_upon_solve\": \"<boolean>\",\n      \"auto_updated_ccs_followers_rules\": \"<boolean>\",\n      \"collaboration\": \"<boolean>\",\n      \"comments_public_by_default\": \"<boolean>\",\n      \"email_attachments\": \"<boolean>\",\n      \"emoji_autocompletion\": \"<boolean>\",\n      \"follower_and_email_cc_collaborations\": \"<boolean>\",\n      \"has_color_text\": \"<boolean>\",\n      \"is_first_comment_private_enabled\": \"<boolean>\",\n      \"light_agent_email_ccs_allowed\": \"<boolean>\",\n      \"list_empty_views\": \"<boolean>\",\n      \"list_newest_comments_first\": \"<boolean>\",\n      \"markdown_ticket_comments\": \"<boolean>\",\n      \"maximum_personal_views_to_list\": \"<integer>\",\n      \"private_attachments\": \"<boolean>\",\n      \"rich_text_comments\": \"<boolean>\",\n      \"status_hold\": \"<boolean>\",\n      \"tagging\": \"<boolean>\",\n      \"using_skill_based_routing\": \"<boolean>\"\n    },\n    \"twitter\": {\n      \"shorten_url\": \"<string>\"\n    },\n    \"user\": {\n      \"agent_created_welcome_emails\": \"<boolean>\",\n      \"end_user_phone_number_validation\": \"<boolean>\",\n      \"have_gravatars_enabled\": \"<boolean>\",\n      \"language_selection\": \"<boolean>\",\n      \"multiple_organizations\": \"<boolean>\",\n      \"tagging\": \"<boolean>\",\n      \"time_zone_selection\": \"<boolean>\"\n    },\n    \"voice\": {\n      \"agent_confirmation_when_forwarding\": \"<boolean>\",\n      \"agent_wrap_up_after_calls\": \"<boolean>\",\n      \"enabled\": \"<boolean>\",\n      \"logging\": \"<boolean>\",\n      \"maximum_queue_size\": \"<integer>\",\n      \"maximum_queue_wait_time\": \"<integer>\",\n      \"only_during_business_hours\": \"<boolean>\",\n      \"outbound_enabled\": \"<boolean>\",\n      \"recordings_public\": \"<boolean>\",\n      \"uk_mobile_forwarding\": \"<boolean>\"\n    }\n  }\n}"
    }
  ]
}