---
title: Update channel settings
full: true
_openapi:
  method: PUT
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Update the current user's settings for a specific channel. Creates
          settings if they don't exist.


          **Mobile Push (APNS/FCM):**


          Register device tokens for push notifications:

          ```json

          {
            "settings": {
              "device_tokens": ["device_token_1", "device_token_2"]
            }
          }

          ```


          **Slack:**


          Configure Slack delivery target:

          ```json

          {
            "settings": {
              "slack_channel_id": "C0123456789",
              "slack_user_id": "U0123456789"
            }
          }

          ```

          At least one of `slack_channel_id` or `slack_user_id` must be
          provided.
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Update the current user's settings for a specific channel. Creates settings if they don't exist.

**Mobile Push (APNS/FCM):**

Register device tokens for push notifications:
```json
{
  "settings": {
    "device_tokens": ["device_token_1", "device_token_2"]
  }
}
```

**Slack:**

Configure Slack delivery target:
```json
{
  "settings": {
    "slack_channel_id": "C0123456789",
    "slack_user_id": "U0123456789"
  }
}
```
At least one of `slack_channel_id` or `slack_user_id` must be provided.


<APIPage document={"./openapi-user.json"} operations={[{"path":"/channels/{channel_id}/settings","method":"put"}]} />