Files Service
Updated: May 21, 2026
The Files Service lets you upload files so they can be referenced in Altium 365 API requests. The typical use case is uploading a file (such as a component library export) and then passing the returned file ID to an API mutation that accepts file input.
Uploading a File
Send a multipart/form-data POST request to the files endpoint with your access token in the Authorization header. The response body is the file ID.
curl:
curl --location 'https://{workspace-domain}/svc/napi/files/File/Upload' \
--header 'Authorization: Bearer {your-access-token}' \
--form 'file=@"components.zip"'
Python:
import requests
token = "your-access-token"
file_path = "components.zip"
with open(file_path, "rb") as f:
response = requests.post(
"https://{workspace-domain}/svc/napi/files/File/Upload",
files={"file": (file_path, f, "application/zip")},
headers={"Authorization": f"Bearer {token}"}
)
file_id = response.text
print(file_id)
Pass file_id to the relevant API mutation as the file reference. See the API schema for which mutations accept file IDs.
Endpoints
The upload path is /File/Upload appended to the files service base URL. See Altium 365 API Endpoints for the full list of Workspace and regional base URLs.