---
title: "Upload one marketing image (multipart: file + path form field)."
method: POST
path: "/api/v1/marketing/admin/assets"
tags: ["Marketing"]
---

# Upload one marketing image (multipart: file + path form field).

`POST /api/v1/marketing/admin/assets`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/marketing/admin/assets`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Response `200`

OK

- AssetUploadResponse
  - `ok` boolean, required
  - `path` string, required
  - `url` string, required

## Other responses

- `400`: Bad Request
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

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