Upload a custom icon for your organization. Supports SVG, PNG, and JPG formats up to 5MB.
POSThttps://api.aitronos.com/v1/icons/organizations/{org_id}
org_id string required
The ID of the organization to upload the icon for.
This endpoint requires multipart/form-data content type.
file file required
Icon file to upload. Supported formats: SVG, PNG, JPG. Maximum size: 5MB.
name string required
Name of the icon. Must be unique within the organization.
description string optional
Optional description of the icon.
tags string optional
Comma-separated list of tags for categorizing the icon (e.g., "custom,brand,logo").
category string optional
Icon category. Defaults to "custom". Common values: "custom", "business", "creative", "technical".
Returns an Icon object if successful.
cURL
- Bash
- Python
- JavaScript
curl -X POST https://api.aitronos.com/v1/icons/organizations/org_123 \
-H "X-API-Key: $FREDDY_API_KEY" \
-F "file=@/path/to/icon.png" \
-F "name=My Custom Icon" \
-F "description=A custom icon for my assistant" \
-F "tags=custom,brand" \
-F "category=custom"