GET /v10/projects/{idOrName}/env
Retrieve the environment variables for a given project by passing either the project id
or name
in the URL.
Servers
- https://api.vercel.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
idOrName |
String | Yes |
The unique project identifier or the project name |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
source |
String | No |
The source that is calling the endpoint. |
customEnvironmentSlug |
String | No |
The custom environment slug (name) within the project |
teamId |
String | No |
The Team identifier to perform the request on behalf of. |
gitBranch |
String | No |
If defined, the git branch of the environment variable to filter the results (must have target=preview) |
decrypt |
String | No |
If true, the environment variable value will be decrypted Possible values:
|
slug |
String | No |
The Team slug to perform the request on behalf of. |
customEnvironmentId |
String | No |
The unique custom environment identifier within the project |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.