Upload an image asset
pc_post_companies_by_company_id_assets_imagesUpload an image asset to a company by providing the company ID and image file.
Instructions
Upload an image asset
Paperclip operation: POST /api/companies/{companyId}/assets/images. Authorization class: board_or_agent.
The source specification omits the upload body; this gateway provides a documented multipart compatibility input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON compatibility payload. The source OpenAPI operation does not declare a request schema. | |
| path | Yes | ||
| multipart | No | Compatibility fallback for an upload omitted from the source OpenAPI schema. Use a field value object with filename, media_type, and data_base64 for files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |