Skip to content

Get a badge share picture​

GET
/achievements/{slug}/share/{asset}

A PNG of the badge for sharing: og 1200×630, post 1080×1080, story and reel 1080×1920. A trailing .png on asset is accepted. ?tier= draws it at that tier when the tier exists. Drafts and private badges answer 404. Public; cached for 5 minutes.

Parameters​

Path Parameters

slug*
Type
string
Required
asset*
Type
string
Required
Valid values
"og""post""story""reel""og.png""post.png""story.png""reel.png"

Query Parameters

tier
Type
string
lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

PNG image

image/png

Playground​

Server
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Built with VitePress