---
title: "The ChannelId method"
slug: "the-channelid-method"
abstract: "Overview of the ChannelId method and properties."
---
# The ChannelId method

To define the channel ID for an interaction, use the `ChannelId()` method.

| Property | Details |
| --- | --- |
| UT SDK method | `ChannelId(string)` |
| Required/optional | Optional |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Must contain a proper item ID value |