---
title: "Get Brand Asset Upload Url"
method: POST
path: "/api/v1/projects/{project_id}/brand-asset/upload-url"
tags: ["brand-config"]
---

# Get Brand Asset Upload Url

`POST /api/v1/projects/{project_id}/brand-asset/upload-url`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/projects/{project_id}/brand-asset/upload-url`
- Auth: none declared

取得品牌素材（Logo / Footer / Resource）的 GCS 上傳簽名 URL。
前端拿到 URL 後直接 PUT 上傳圖片到 GCS。

## Path parameters

- `project_id` string, required

## Headers

- `Authorization` string, nullable

## Request body

- BrandAssetUploadRequest
  - `type` string, required
  - `content_type` string
  - `resource_id` string, nullable

## Response `200`

Successful Response

- BrandAssetUploadResponse
  - `upload_url` string, required
  - `blob_path` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
