Go to Slack

pin_added event

Compatibility: RTM Events API

Events API Scope: pins:read


A pin was added to a channel

{
    "type": "pin_added",
    "user": "U024BE7LH",
    "channel_id": "C02ELGNBH",
    "item": {
        …
    },
    "event_ts": "1360782804.083113"
}

When an item is pinned in a channel, the pin_added event is sent to all members of that channel.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.

pin_added requires the pins:read OAuth permission scope.