---
schema_version: "1"
id: b77805ecd8e98448e95bef3a6d9fb771e98c81262766f35631c8feeaad7697cf
title: ConnectApi.EntityLinkSegmentInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_entity_link_segment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_entity_link_segment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 61bc073e6945f196d7a5a873f14d908046ef106105c6fffc048608c478bbd74f
description: An entity link segment.
---
# ConnectApi.EntityLinkSegmentInput

An entity link segment.

Subclass of [ConnectApi.MessageSegmentInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_messageSegmentInput.htm "Used to add rich message segments to feed items and comments.").

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d634287e58">Property</th>

              <th class="featureTableHeader vertical-align-top " id="d634287e61">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d634287e64">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d634287e67">Required or Optional</th>

              <th class="featureTableHeader vertical-align-top " id="d634287e70">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d634287e58 d634287e70" data-title="Property"><samp class="codeph apex_code">entityId</samp></td>

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

              <td class="entry" headers="d634287e64" data-title="Description">
                <span class="ph" id="entityId"><a name="entityId"><!-- --></a>ID of the entity to link to.</span>
                <p class="p" id="accessLimit"><a name="accessLimit"><!-- --></a>Only
                  users with access to the entity see it. It’s hidden for users without
                  access.</p>
              </td>

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

              <td class="entry" headers="d634287e58 d634287e70" data-title="Property">43.0</td>

            </tr>

          </tbody>

        </table>