---
title: "Upload Source File"
method: POST
path: "/companies/{company_id}/sources/{source_id}/upload"
tags: ["sources"]
---

# Upload Source File

`POST /companies/{company_id}/sources/{source_id}/upload`

## Request

- Base URL: `https://app.zalster.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zalster.com/companies/{company_id}/sources/{source_id}/upload`
- Auth: none declared

Attach a file to an uploaded feed source, streaming it to shared storage.

Replaces any previous upload for the source. Does not inspect or import;
those remain explicit steps so the operator sees what they are about to
activate.

## Path parameters

- `company_id` string, uuid, required: Company id
- `source_id` string, uuid, required: Source id

## Request body `multipart/form-data`

- BodyUploadSourceFileCompaniesCompanyIdSourcesSourceIdUploadPost
  - `file` string, binary, required

## Response `201`

Successful Response

- UploadOut
  - `source_id` string, uuid, required
  - `original_filename` string, required
  - `byte_size` integer, required
  - `sha256` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zalster/apis/zalster-feed-processor.md) - [All operations](https://skmtc.dev/zalster/apis/zalster-feed-processor/llms.txt) - [OpenAPI document](https://skmtc.dev/zalster/apis/zalster-feed-processor/revisions/d0b9dc66ad36?raw)
