Skip to main content
POST
/
projects
/
{project_reference}
/
commit
Commit Project Files
curl --request POST \
  --url https://api.veryfront.com/projects/{project_reference}/commit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_ids": [
    "<string>"
  ],
  "branch_reference": "<string>"
}
'
{
  "success": true,
  "versions": [
    {
      "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "path": "<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 identifier: UUID, slug, or domain name

Example:

"my-project"

Body

application/json
file_ids
string[]
branch_reference
string

Response

Commit successful

success
boolean
required
versions
object[]
required