Skip to main content
POST
/
providers
/
{provider}
/
files
/
{fileId}
/
import
Import a file from external provider to GCS
curl --request POST \
  --url https://api.veryfront.com/providers/{provider}/files/{fileId}/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "basePath": "<string>",
  "timestampPrefix": true
}
'
{
  "uploadId": "<string>",
  "gcsPath": "<string>",
  "fileName": "<string>",
  "contentType": "<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
fileId
string
required

Body

application/json
projectId
string<uuid>
basePath
string
timestampPrefix
boolean

Response

Import result with GCS path reference

uploadId
string
required
gcsPath
string
required
fileName
string
required
contentType
string
required
size
number
required