environmentVariables
Get an environment variable
Returns an individual environment variable.
get/accounts/{account_id}/env/{key}
Request
- Base URLhttps://api.netlify.com/api/v1
- URLhttps://api.netlify.com/api/v1/accounts/{account_id}/env/{key}
- AuthOAuth 2Implicit: https://app.netlify.com/authorize
Path parameters
account_idstring required
Scope response to account_id
keystring required
The environment variable key (case-sensitive)
Query parameters
site_idstring
If provided, return the environment variable for a specific site (no merging is performed)
Response
OK
Changes
No recorded changes to this operation across all 87 revisions of this API.