---
schema_version: "1"
id: 6981293e3da80315b1662d0ba4483321c72765528fbf5d602606ac00d0c4db6a
title: ConnectApi.ManagedContentChannelCreateRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_managed_content_channel_create_representatio.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_managed_content_channel_create_representatio.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7936b87f1c6b30ab6185b1f4eb51a4f4cbf221caa65fe750a4057ec6dc993099
description: Input class to create a managed content channel.
---
# ConnectApi.ManagedContentChannelCreateRepresentation

Input class to create a managed content channel.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d664350e26">Property</th>
              <th class="featureTableHeader vertical-align-top " id="d664350e28">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d664350e30">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d664350e32">Required or Optional</th>
              <th class="featureTableHeader vertical-align-top " id="d664350e34">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">cacheControlMax​Age</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">Long</td>

              <td class="entry" headers="d664350e30" data-title="Description"><span class="ph" id="cacheControlMaxAge"><a name="cacheControlMaxAge"><!-- --></a>Cache control max age value in
                  seconds.</span></td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">domain</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">String</td>

              <td class="entry" headers="d664350e30" data-title="Description">ID or name of the domain assigned to the public channel.</td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">isDedicated​ContentDelivery</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">Boolean</td>

              <td class="entry" headers="d664350e30" data-title="Description"><span class="ph" id="isDedicatedContentDelivery"><a name="isDedicatedContentDelivery"><!-- --></a>Specifies whether the channel has off-core
                  dedicated content delivery enabled (<samp class="codeph apex_code"><span class="keyword">true</span></samp>)
                  or not (<samp class="codeph apex_code"><span class="keyword">false</span></samp>). Orgs hosted on Hyperforce
                  use off-core dedicated content delivery to deliver content in public channels with
                  high performance and low latency.</span></td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">isDomainLocked</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">Boolean</td>

              <td class="entry" headers="d664350e30" data-title="Description">Specifies whether the domain is locked and can’t be changed (<samp class="codeph apex_code"><span class="keyword">true</span></samp>) or not (<samp class="codeph apex_code"><span class="keyword">false</span></samp>).</td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">isSearchable</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">Boolean</td>

              <td class="entry" headers="d664350e30" data-title="Description">Specifies whether the text contents of the channel are searchable (<samp class="codeph apex_code"><span class="keyword">true</span></samp>) or not (<samp class="codeph apex_code"><span class="keyword">false</span></samp>).</td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">mediaCacheControl​MaxAge</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">Long</td>

              <td class="entry" headers="d664350e30" data-title="Description"><span class="ph" id="mediaCacheControlMaxAge"><a name="mediaCacheControlMaxAge"><!-- --></a>Media cache control max age value in
                  seconds.</span></td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">name</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">String</td>

              <td class="entry" headers="d664350e30" data-title="Description"><span class="ph" id="name"><a name="name"><!-- --></a>Name of the managed content channel.</span></td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">targetId</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type">String</td>

              <td class="entry" headers="d664350e30" data-title="Description"><span class="ph" id="targetId"><a name="targetId"><!-- --></a>ID of the target associated with the managed content
                  channel.</span></td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Required for all channel types except <samp class="codeph apex_code">Public​Unauthenticated</samp>
              </td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d664350e26 d664350e34" data-title="Property"><samp class="codeph apex_code">type</samp></td>

              <td class="entry" headers="d664350e28" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#managedContentChannelTypeEnum"><samp class="codeph apex_code">ConnectApi.​ManagedContent​ChannelType</samp></a></td>

              <td class="entry" headers="d664350e30" data-title="Description">Type of managed content channel. Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">CloudToCloud</samp>—Cloud-to-Cloud
                    integrated channel.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">Community</samp>—Experience Cloud site
                    channel.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">ConnectedApp</samp>—Channel served by
                    a connected app.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">PublicUnauthenticated</samp>—Public
                    channel. All published content is publicly available.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">UserPermission</samp>—Channel backed
                    by a system permission. All published content is available only to users with
                    the permission.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">WebApp</samp>—Channel served by a web
                    app.
                  </li>

                </ul>
              </td>

              <td class="entry" headers="d664350e32" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d664350e26 d664350e34" data-title="Property">62.0</td>

            </tr>

          </tbody>
        </table>

#### See Also

- [postManagedContentChannel(ManagedContentCreateInputParam)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_ManagedContentChannels_static_methods.htm#apex_ConnectAPI_ManagedContentChannels_postManagedContentChannel_2 "Create a managed content channel.")