List Discord announcement channel
List the latest public posts of a Discord announcement channel, with text, attachments and reactions.
Headers
Get your API keyAPI key (`sfk_...`)
Channel id, 1 to 20 digits and at most 9223372036854775807, e.g. `267631170882240512`.
pattern: ^[0-9]{1,20}$
Endpoint-specific response payload.
`not_found` when the channel id is not a public announcement channel.
one of: found, not_found, restricted
The channel and its latest public posts when found.
Channel id.
Channel name.
Channel topic.
The server the channel belongs to.
Server id.
Server name.
Server description.
Server icon URL.
Discovery splash URL.
Server banner URL.
The server's vanity invite code, when it has one.
Indexed member count.
Indexed online count.
The latest public posts, newest first.
Message id.
The message text.
When it was posted, ISO 8601 UTC.
When it was edited, ISO 8601 UTC; null when never edited.
Files attached to the post.
The attachment URL. Its signed query parameters expire, so the link is time-limited.
A second URL for the attachment on Discord's media host, when present.
MIME type, when given.
Width in pixels, when given.
Height in pixels, when given.
Alt text, when present.
Reactions on the post.
Custom emoji id, or null.
Emoji name, or null.
Whether the emoji is animated.
How many people reacted.
True when the channel has more posts than this page and no cursor continues past it.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/discord/announcement-channels/538844350856298526" \
-H "x-api-key: YOUR_API_KEY"Responses
Announcement channel.