---
title: "Create Project Asset"
method: POST
path: "/tenants/{tenant_id}/projects/{project_id}/assets"
tags: ["Projects"]
---

# Create Project Asset

`POST /tenants/{tenant_id}/projects/{project_id}/assets`

Create a project asset by uploading an image or document.

---

A project can have a number of associated images or documents such as a picture of a meter, a roof, or other supporting material. An associated file can be a pdf, jpg, jpeg, png, gif, or webp file. Any other file formats will be rejected. The maximum size of an individual file is 15 MB. You may upload up to 100 assets per project. New assets will overwrite old assets with the same filename.

## Path parameters

- `tenant_id` string, uuid, required
- `project_id` string, uuid, required

## Headers

- `Content-Disposition` string, required

## Response `200`

Project Asset successfully uploaded

- object
  - `project_asset` object
    - `id` string, uuid — Unique ID identifying the asset within Aurora.
    - `filename` string — Base name of the file with extension.
    - `temporary_access_url` string — Temporary URL to download the file (asset). Access expires after 24 hours. URL is refreshed on each request.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/aurorasolar/apis/sync-api.md) · [All operations](https://skmtc.dev/aurorasolar/apis/sync-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aurorasolar/sync-api/revisions/5b41808d104d/schema)
