Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name (can be “admin” for admin project) |
| name | string | Yes | Environment variable name |
Query Parameters
None.Response
Success Response (200 OK)
Response Fields
Same as List Environment Variables. See List Environment Variables for field descriptions.Notes
- Secret values (
visible=falseorglobalVisible=false) are masked (returned asnull) - Returns single environment variable matching the name
Error Response (400 Bad Request)
cURL Example
Permissions
- User must have any permission in the project (read access)
Related Documentation
- List Environment Variables - List all environment variables
- Create Environment Variable - Create a new environment variable

