v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Discord

List pinned messages

Returns the channel's pinned messages, sorted most-recently-pinned first. Discord caps a channel at 50 pinned messages and returns the full list unpaginated.

Bot needs READ_MESSAGE_HISTORY in the channel (granted by default BOT_PERMISSIONS).

get/v1/discord/channels/{channelId}/pins

Path parameters

channelIdstring required

Discord channel snowflake.

Query parameters

accountIdstring required

SocialAccount _id of any Discord account in the same guild.

Response

Pinned messages.