# Upload article 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.

Endpoint: POST /beta/knowledge/articles/attachments
Version: beta
Security: ApiKeyAuth

## Request fields (multipart/form-data):

  - `files` (array)
    One or more image files to upload as article attachments. Each part must be a supported image format.

## Response 200 fields (application/json):

  - `data` (array)
    Successfully uploaded attachments

  - `data.originalFilename` (string, required)
    Original filename of the uploaded file

  - `data.url` (string, required)
    Public URL of the uploaded file

  - `partialErrors` (array)
    Errors for attachments that failed

  - `partialErrors.originalFilename` (string, required)
    Original filename of the failed file

  - `partialErrors.message` (string, required)
    Error message describing the failure

  - `partialErrors.code` (integer, required)
    HTTP-style status code: 400 for client-side errors, 500 for server-side errors

## Response 400 fields (application/json):

  - `message` (string, required)

## Response 500 fields (application/json):

  - `message` (string, required)

