Upload a custom icon

Adds an SVG (up to 256 KB) or PNG (up to 1 MB) to your workspace icons, sent as the file field of a multipart form. The file name becomes the icon name. Single-color SVGs in black, white or gray take the color of the text around them; other icons keep their colors. Icons served as images have public URLs.

POST /v1/icons
Bearer token scope content:write

Body

required multipart/form-data
file string · binary required

Responses