---
title: "PUT /agency/source/{sourceId}/custom-channels/{channelId}"
method: PUT
path: "/agency/source/{sourceId}/custom-channels/{channelId}"
tags: ["SourceChannel"]
---

# PUT /agency/source/{sourceId}/custom-channels/{channelId}

`PUT /agency/source/{sourceId}/custom-channels/{channelId}`

## Path parameters

- `sourceId` string, required
- `channelId` string, required

## Request body

- UpdateSourceChannelInput
  - `friendlyName` string, nullable
  - `provider` string, nullable
  - `uniqueId` string, nullable
  - `authToken` string, nullable
  - `refreshToken` string, nullable
  - `expiration` string, date-time, nullable

## Response `200`

Success

- AgencySourceChannelDto
  - `id` string, nullable
  - `sourceId` string, nullable
  - `friendlyName` string, nullable
  - `provider` string, nullable
  - `uniqueId` string, nullable
  - `authToken` string, nullable
  - `expiration` string, date-time, nullable

---

[API](https://skmtc.dev/closebot/apis/closebot-api.md) · [All operations](https://skmtc.dev/closebot/apis/closebot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/closebot/closebot-api/revisions/da5f5fb58534/schema)
