About this endpoint
What it does
Generates an SVG badge and returns it as a downloadable binary response. The request body provides the badge label and message, with optional color values for each section.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| label | String | Yes | Left-side badge label. |
| message | String | Yes | Right-side badge message. |
| label_color | String | No | Hex color for the label section. |
| message_color | String | No | Hex color for the message section. |
Response
Returns a binary string response containing the generated SVG badge.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary | String | Yes | SVG content returned as a downloadable binary payload. |