---
title: "POST /api/rpc/uploadAssetFromUrl"
method: POST
path: "/api/rpc/uploadAssetFromUrl"
tags: ["public"]
---

# POST /api/rpc/uploadAssetFromUrl

`POST /api/rpc/uploadAssetFromUrl`

## Request

- Base URL: `https://21risk.com`
- URL: `https://21risk.com/api/rpc/uploadAssetFromUrl`
- Auth: OAuth 2 (client credentials, token URL `/api/v1/oauth/token`)

Upload a file of up to 100 MB into 21RISK file storage from a publicly accessible URL and return the internal asset link. For a local file, use createFileUpload instead.

## Request body

- object
  - `tenant` unknown, required
  - `url` string, uri, required: Publicly accessible URL of the file to upload.
  - `fileName` string, required: File name including extension, for example screenshot.png or report.pdf.

## Response `200`

Successful response

---

[API](https://skmtc.dev/21risk/apis/21risk-api.md) · [All operations](https://skmtc.dev/21risk/apis/21risk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/21risk/apis/21risk-api/revisions/273a727dfd49?raw)
