---
title: "List environment services links"
method: GET
path: "/environment/{environmentId}/link"
tags: ["Environment"]
---

# List environment services links

`GET /environment/{environmentId}/link`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/environment/{environmentId}/link`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/environment/:environmentId/link/get.ts> (a function with typed inputs; its response is checked against the schema)

List services links of an environment

## Path parameters

- `environmentId` string, uuid, required

## Response `200`

List environment services links

- LinkResponseList
  - `results` Link[]
    - `service_id` string, uuid, required: ID of the associated service
    - `service_type` 'APPLICATION' | 'DATABASE' | 'CONTAINER' | 'JOB' | 'HELM' | 'TERRAFORM', required: type of the service (application, database, job, ...)
    - `url` string, required: URL to access the service
    - `internal_port` integer, required: The port from which the service is reachable from within the cluster
    - `external_port` integer, required: The port from which the service is reachable from externally (i.e: 443 for HTTPS)
    - `is_qovery_domain` boolean, required: True if the domain is managed by Qovery, false if it belongs to the user
    - `is_default` boolean, required: Indicate if the link is using the root of the domain and not one derivated from port i.e: p8080.zxxxx.jvm.worl => is_default = false, is_qovery = true zxxxx.jvm.world => is_default = true, is_qovery = true p8080-my-super-domain.com => is_default = false, is_qovery = false my-super-domain.com => is_default = true, is_qovery = false

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
