---
title: "Upload article attachments"
method: POST
path: "/beta/knowledge/articles/attachments"
tags: ["Knowledge"]
---

# Upload article attachments

`POST /beta/knowledge/articles/attachments`

Upload one or more image files to be used as attachments in knowledge articles. Supported formats: image/png, image/jpeg, image/gif, image/webp. Maximum 5 files per request, 4 MB per file, with a total request payload limit of 10 MB. Supports partial success.

## Response `200`

The uploaded attachments, with partial errors if any

- UploadAttachmentsOutput
  - `data` AttachmentResult[] — Successfully uploaded attachments
    - `originalFilename` string, required — Original filename of the uploaded file
    - `url` string, required — Public URL of the uploaded file
  - `partialErrors` AttachmentError[] — Errors for attachments that failed
    - `originalFilename` string, required — Original filename of the failed file
    - `message` string, required — Error message describing the failure
    - `code` integer, required — HTTP-style status code: 400 for client-side errors, 500 for server-side errors

## Other responses

- `400`
- `500` — Internal failure during request processing

---

[API](https://skmtc.net/dixa/apis/dixa-api.md) · [All operations](https://skmtc.net/dixa/apis/dixa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dixa/dixa-api/revisions/5eaff14a2c46/schema)
