Get Discord announcement
Get one public Discord announcement post by channel and message id.
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}$
Message id, 1 to 20 digits and at most 9223372036854775807, e.g. `267624335836053506`.
pattern: ^[0-9]{1,20}$
Endpoint-specific response payload.
`not_found` when the channel id is not a public announcement channel or the message is not one of its public posts.
one of: found, not_found, restricted
The channel the post belongs to.
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 announcement channel.
Channel id.
Channel name.
Channel topic.
The post when found; otherwise null.
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.
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/posts/1565380934721605652" \
-H "x-api-key: YOUR_API_KEY"Responses
Announcement post.