---
title: "Update App Settings"
method: PATCH
path: "/app"
tags: ["product:chat"]
---

# Update App Settings

`PATCH /app`

This Method updates one or more application settings

## Request body

- UpdateAppRequest, nullable
  - `activity_metrics_config` object
  - `allowed_flag_reasons` string[]
  - `apn_config` APNConfig
    - `Disabled` boolean
    - `auth_key` string
    - `auth_type` 'certificate' | 'token'
    - `bundle_id` string
    - `development` boolean
    - `host` string
    - `key_id` string
    - `notification_template` string
    - `p12_cert` string
    - `team_id` string
  - `async_moderation_config` AsyncModerationConfiguration
    - `callback` AsyncModerationCallbackConfig
      - `mode` 'CALLBACK_MODE_NONE' | 'CALLBACK_MODE_REST' | 'CALLBACK_MODE_TWIRP'
      - `server_url` string
    - `timeout_ms` integer
  - `async_url_enrich_enabled` boolean
  - `auto_translation_enabled` boolean
  - `before_message_send_hook_attempt_timeout_ms` integer
  - `before_message_send_hook_url` string
  - `cdn_expiration_seconds` integer
  - `channel_hide_members_only` boolean
  - `chat_primary_use_case` 'messaging' | 'customer-support' | 'community' | 'marketplace' | 'gaming' | 'telehealth' | 'on-demand' | 'workforce-management' | 'dating' | 'education' | 'financial' | 'sports' | 'real-money-gaming'
  - `custom_action_handler_url` string
  - `datadog_info` DataDogInfo
    - `api_key` string
    - `enabled` boolean
    - `site` string
  - `disable_auth_checks` boolean
  - `disable_permissions_checks` boolean
  - `enable_hook_payload_compression` boolean
  - `enforce_unique_usernames` 'no' | 'app' | 'team'
  - `event_hooks` EventHook[]
    - `callback` AsyncModerationCallbackConfig
      - `mode` 'CALLBACK_MODE_NONE' | 'CALLBACK_MODE_REST' | 'CALLBACK_MODE_TWIRP'
      - `server_url` string
    - `created_at` string, date-time
    - `enabled` boolean
    - `event_types` string[]
    - `failover_config` WebhookFailoverConfig
      - `gcs_bucket` string
      - `gcs_credentials` string
      - `gcs_path` string
      - `type` string
    - `hook_type` string
    - `id` string
    - `product` string
    - `should_send_custom_events` boolean
    - `sns_auth_type` string
    - `sns_event_based_message_group_id_enabled` boolean
    - `sns_key` string
    - `sns_region` string
    - `sns_role_arn` string
    - `sns_secret` string
    - `sns_topic_arn` string
    - `sqs_auth_type` string
    - `sqs_key` string
    - `sqs_queue_url` string
    - `sqs_region` string
    - `sqs_role_arn` string
    - `sqs_secret` string
    - `timeout_ms` integer
    - `updated_at` string, date-time
    - `webhook_url` string
  - `feed_audit_logs_enabled` boolean
  - `feeds_moderation_enabled` boolean
  - `feeds_v2_region` string
  - `file_upload_config` FileUploadConfig
    - `allowed_file_extensions` string[]
    - `allowed_mime_types` string[]
    - `blocked_file_extensions` string[]
    - `blocked_mime_types` string[]
    - `size_limit` integer, required
  - `firebase_config` FirebaseConfig
    - `Disabled` boolean
    - `apn_template` string
    - `credentials_json` string
    - `data_template` string
    - `notification_template` string
    - `server_key` string
  - `grants` object
  - `guest_user_creation_disabled` boolean
  - `huawei_config` HuaweiConfig
    - `Disabled` boolean
    - `id` string
    - `secret` string
  - `image_moderation_block_labels` string[]
  - `image_moderation_enabled` boolean
  - `image_moderation_labels` string[]
  - `image_upload_config` FileUploadConfig
    - `allowed_file_extensions` string[]
    - `allowed_mime_types` string[]
    - `blocked_file_extensions` string[]
    - `blocked_mime_types` string[]
    - `size_limit` integer, required
  - `max_aggregated_activities_length` integer
  - `member_custom_on_messages_enabled` boolean
  - `migrate_permissions_to_v2` boolean
  - `moderation_analytics_enabled` boolean
  - `moderation_dashboard_preferences` ModerationDashboardPreferences
    - `allowed_moderation_action_reasons` string[]
    - `async_review_queue_upsert` boolean
    - `block_foreign_cdn_attachments` boolean
    - `custom_views_enabled` boolean
    - `disable_audit_logs` boolean
    - `disable_flagging_reviewed_entity` boolean
    - `escalation_queue_enabled` boolean
    - `escalation_reasons` string[]
    - `filterable_custom_keys` string[]
    - `flag_user_on_flagged_content` boolean
    - `include_attachment_payload` boolean
    - `keyframe_classifications_map` object
    - `media_queue_blur_enabled` boolean
    - `overview_dashboard` OverviewDashboardConfig
      - `default_date_range_days` integer
      - `visible_charts` string[]
  - `moderation_enabled` boolean
  - `moderation_onboarding_complete` boolean
  - `moderation_s3_image_access_role_arn` string
  - `moderation_webhook_url` string
  - `multi_tenant_enabled` boolean
  - `permission_version` 'v1' | 'v2'
  - `push_config` PushConfig
    - `offline_only` boolean
    - `version` 'v1' | 'v2' | 'v3', required
  - `reminders_interval` integer
  - `reminders_max_members` integer
  - `reminders_max_per_user` integer
  - `revoke_tokens_issued_before` string, date-time
  - `sns_key` string
  - `sns_secret` string
  - `sns_topic_arn` string
  - `sqs_key` string
  - `sqs_secret` string
  - `sqs_url` string
  - `user_response_time_enabled` boolean
  - `user_search_disallowed_roles` string[]
  - `video_primary_use_case` 'video-calling' | 'voice-calling' | 'livestreaming' | 'audio-rooms' | 'ai-agents' | 'live-shopping' | 'other'
  - `webhook_events` string[]
  - `webhook_url` string
  - `xiaomi_config` XiaomiConfig
    - `Disabled` boolean
    - `package_name` string
    - `secret` string

## Response `200`

Response

- Response, nullable — Basic response information
  - `duration` string, required — Duration of the request in milliseconds

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

[API](https://skmtc.net/getstream/apis/stream-api.md) · [All operations](https://skmtc.net/getstream/apis/stream-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getstream/stream-api/versions/3dba86aaa0d8/schema)
