latestOpenAPI 3.1.02026-08-225721892.2 MB
19fd2b70854e
Discord
Pin a Discord message
Pin a specific message in a channel. Path shape mirrors Discord's own API (PUT /channels/{cid}/pins/{mid}).
Idempotent — re-pinning an already-pinned message is a 204 no-op.
Constraints:
- Bot needs MANAGE_MESSAGES in the channel.
- 50-pin cap per channel — hitting it returns 400 (Discord-side). Caller should unpin one first.
put/v1/discord/channels/{channelId}/pins/{messageId}
Path parameters
channelIdstring required
messageIdstring required
Query parameters
accountIdstring required
Response
Message pinned (or was already pinned — idempotent).