POST /v1/uploads/import

Import a file from a URL

Fetches a file and stores it as a verified upload. Only hosts the server allows are fetched; otherwise use `POST /v1/uploads`.

Permission

A key with chosen permissions needs generation.write. A key made with every permission may always call it. It can spend: send an Idempotency-Key so a retry replays the first answer.

Parameters

Body

Response: Upload

201 · A file you brought into Kuro.

Example

The required fields only, each a placeholder. Replace them before sending.

curl -X POST "https://api.meetkuro.com/v1/uploads/import" \
  -H "Authorization: Bearer $KURO_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"url":"<url>"}'
import { Kuro } from "@meetkuro/sdk";

const kuro = new Kuro(); // reads KURO_API_KEY
await kuro.uploads.import({ url: "https://…" });

Every operation