---
title: "POST /article/id/{id}/uploadArticleImage"
method: POST
path: "/article/id/{id}/uploadArticleImage"
tags: ["article"]
---

# POST /article/id/{id}/uploadArticleImage

`POST /article/id/{id}/uploadArticleImage`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/article/id/{id}/uploadArticleImage`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/article/id/:id/uploadArticleImage/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Query parameters

- `name` string, required
- `mainImage` boolean
- `articleImageId` string

## Response `200`

uploadArticleImage response

- object
  - `result` SuccessResponse
    - `success` boolean

## Other responses

- `default`: error response

## Changes

- **2022-12-03** `cc274ef79dfd`: 1 info
  - added the new optional `query` request parameter `articleImageId`

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/article/id/:id/uploadArticleImage/post.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
