GET /discord/channels/{channelId}/pins
Pinned messages of the channel (at most 50, most recent first; Discord message objects). Every call takes accountId: a Discord account of the organization bound to that server (404 otherwise). Discord's 403 (bot permissions or role hierarchy) is passed on; servers that installed the bot before a permission was asked for must re-invite it
BearerAuthAuthorizationBearer <token>API key sk_...
channelId*stringDiscord channel id (snowflake)
accountId*stringDiscord account id bound to this server (or the channel's server)
{data}
application/json- response
data?array<>curl -X GET 'https://example.com/api/v1/discord/channels/string/pins?accountId=string'{ "data": [ {} ]}PATCH /accounts/{id}/discord-settings PATCH
Default webhook identity (webhookUsername 1-80 characters without "discord"/"clyde", webhookAvatarUrl https; "" resets) and/or channelId: move the account to another text, announcement or forum channel of the same server (the bot creates a webhook there)
DELETE /discord/channels/{channelId}/pins/{messageId} DELETE
Unpin a message (idempotent)