---
schema_version: "1"
id: 6ae15ccd7338bd1fd24249fe80b962fe035a5ca343069dec69e2e570c53a9560
title: ConnectApi.PinCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_pin_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_pin_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4ec79deed4a99d77bf6eda6afc8bcd02069bcdb5d1fb5a2560d63e25046acb52
description: If a feed element has this capability, users who have permission can pin it to a feed.
---
# ConnectApi.PinCapability

If a feed element has this capability, users who have permission can pin it to a feed.

Subclass of [ConnectApi.FeedElementCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capability.htm "A feed element capability, which defines the characteristics of a feed element.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| isPinnableByMe | Boolean | Specifies whether the context user can pin or unpin the entity to the feed (true) or not (false). | 41.0 |
| isPinned | Boolean | Specifies whether the entity is pinned (true) or not pinned (false) to the feed. | 41.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")