Logo
Api

Badge

Returns an SVG badge representing time spent. URL path segments define badge parameters.

GET
/api/public/{badge}

Path Parameters

badgestring

Path segments for badge configuration (userId/project/timeRange/color/labelText)

Query Parameters

style?string

Badge style

Default"flat"
Value in"classic" | "flat"
icon?string

Icon to display on badge

Response Body

curl -X GET "https://ziit.app/api/public/string?style=classic&icon=string"
"string"
Empty