Projects

Get a regular environment variable value by key. Marked secrets return 403.

Changed on
get/projects/{project_id}/env-vars/{key}/value

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID or slug

keystring required

Environment variable key

Query parameters

environment_idinteger

Optional environment ID

var_idinteger

Exact environment-variable row ID

Response

Regular environment variable value

valuestring required

Plaintext for a regular manual or integration-sourced variable. Marked secret manual variables never produce this response.

Changes

    • info

      the endpoint scheme security bearer_auth was added to the API

    • info

      added the new optional query request parameter var_id

    • info

      added the non-success response with the status

    1 more change in this revision