POST: Brand Asset Image
Learn how to upload brand assets to your workspace
Overview
This endpoint allows you to upload new brand assets (images) to your workspace. You can upload images from a URL or as a base64-encoded string.
Request
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file | String | Yes | URL or base64-encoded string of the image |
fileName | String | No | Custom filename for the asset (default: auto-generated based on timestamp) |
fileType | String | No | MIME type of the file (e.g., "image/png"). If not provided, it will be detected from the file |
Supported Image Formats
- PNG (
image/png) - JPEG (
image/jpeg) - WebP (
image/webp) - SVG (
image/svg+xml) - GIF (
image/gif)
Notes
- Images are automatically optimized and resized if needed (maximum dimensions: 2000x2000 pixels)
- Maximum file size: 3MB
- SVG files are not optimized to preserve their vector format
Rate Limits
- 30 requests per minute per endpoint