http
POST /projects/{project_reference}/external-files/{provider}/{file_id}/importImport external file.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
project_reference | path | Yes | Project slug, UUID, or domain that identifies the project. |
provider | path | Yes | |
file_id | path | Yes | |
idempotency-key | header |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
folder_path | string | Destination folder inside project Uploads, relative (no leading /). The Uploads root when omitted. | |
timestamp_prefix | boolean | Prefix the stored name with a timestamp to avoid a name conflict. Defaults to false. | |
visibility | string | Visibility of the new upload: project, public or private. Omitted, the upload inherits the destination's visibility. Setting it needs upload admin access on the destination, and public a paid plan; a refusal imports nothing. |
Responses
| Status | Description |
|---|---|
| 200 | The created upload and its source. |
| 400 | Bad request |
| 401 | Unauthorized |
| 402 | Payment required |
| 403 | Forbidden |
| 404 | Not found |
| 409 | Conflict |
| 413 | Payload too large |
| 428 | Precondition required |
| 429 | Rate limit exceeded |
| 500 | Server error |
| 503 | Service unavailable |