> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get environment variables

> Retrieve the environment variables as added in the Nango dashboard

<Info>
  Requires an API key with the `environment:variables:read` scope. [Learn more about API key scopes](/reference/backend/http-api/api-keys#scopes).
</Info>


## OpenAPI

````yaml GET /environment-variables
openapi: 3.1.0
info:
  title: Nango API
  description: Nango API specs used to authorize & sync data with external APIs.
  version: 1.0.0
servers:
  - url: https://api.nango.dev
    description: Production server
  - url: http://localhost:3003
    description: Local server
security:
  - bearerAuth: []
externalDocs:
  url: https://nango.dev/docs/reference/backend/http-api/authentication
paths:
  /environment-variables:
    get:
      summary: Get environment variables
      description: Retrieve the environment variables as added in the Nango dashboard
      responses:
        '200':
          description: Retrieve the environment variables as added in the Nango dashboard
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                      description: The name of the environment variable
                      example: MY_SECRET_KEY
                    value:
                      type: string
                      description: The value of the environment variable
                      example: SK_373892NSHFNCOWFO...
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: The secret key from your Nango environment.

````