FileForms
Organization

Upload Branding Asset

POST
/organization/branding/assets

Upload a logo or icon as a base64-encoded image (png, jpeg, or webp; max 2MB). The file content must match the declared type. The uploaded asset immediately replaces the current logo or icon.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/organization/branding/assets" \  -H "Content-Type: application/json" \  -d '{    "kind": "logo",    "fileType": "image/png",    "file": "string"  }'
{  "url": "http://example.com"}