What the web badge shows
GET
/sponsors/{key}/badge
The answer the Proud Sponsor web badge is drawn from. The badge itself is the image at https://fundlyhub.org/badge/sponsor/{slug}.svg (?theme=dark for the white version on a dark page, ?size=small for 160 by 38, ?size=round for the 48 by 48 round mark), which always shows the sponsor's live status. {key} takes the current slug, an old one or the id, so a badge keeps working after a rename. Cacheable for 5 minutes. 403 while sponsors are switched off.
Parameters
Path Parameters
key*
Type
Requiredstring
Example
"fast-cat-coffee-bar"Responses
OK
application/json
JSON
{
"badge": "proud_sponsor",
"slug": "fast-cat-coffee-bar",
"name": "Fast Cat Coffee Bar"
}