Skip to main content
POST
/
projects
/
{project_reference}
/
files
/
batch
Batch Get Project Files
curl --request POST \
  --url https://api.veryfront.com/projects/{project_reference}/files/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paths": [
    "<string>"
  ]
}
'
{
  "files": [
    {
      "path": "<string>",
      "type": "<string>",
      "content": "<string>",
      "size": 123,
      "found": true,
      "error": "<string>"
    }
  ]
}

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

project_reference
string
required

Project ID or slug

Body

application/json
paths
string[]
required

Array of file paths to fetch

Response

Files with content

files
object[]
required