Skip to main content
GET
/
projects
/
{project_reference}
/
env-vars
/
{key}
Get Environment Variable
curl --request GET \
  --url https://api.veryfront.com/projects/{project_reference}/env-vars/{key} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key": "<string>",
  "value": "<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

key
string
required

Environment variable name

Query Parameters

environment_id
string<uuid>
required

Environment ID containing the variable

Response

Environment variable

id
string<uuid>
required
key
string
required
value
string
required