Skip to main content
POST
/
providers
/
{provider}
/
files
/
{file_id}
/
import
Import a file from external provider to GCS
curl --request POST \
  --url https://api.veryfront.com/providers/{provider}/files/{file_id}/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "base_path": "<string>",
  "timestamp_prefix": true
}
'
{
  "upload_id": "<string>",
  "gcs_path": "<string>",
  "file_name": "<string>",
  "content_type": "<string>",
  "size": 123
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

provider
string
required
file_id
string
required

Body

application/json
project_id
string<uuid>
base_path
string
timestamp_prefix
boolean

Response

Import result with GCS path reference

upload_id
string
required
gcs_path
string
required
file_name
string
required
content_type
string
required
size
number
required