---
title: "ListGateways"
method: POST
path: "/gitpod.v1.GatewayService/ListGateways"
tags: ["gitpod.v1.GatewayService"]
---

# ListGateways

`POST /gitpod.v1.GatewayService/ListGateways`

## Query parameters

- `pageSize` integer
- `token` string

## Request body

- GitpodV1ListGatewaysRequest
  - `pagination` GitpodV1PaginationRequest
    - `pageSize` integer — Page size is the maximum number of results to retrieve per page. Defaults to 25. Maximum 100.
    - `token` string — Token for the next set of results that was returned as next_token of a PaginationResponse

## Response `200`

Success

- GitpodV1ListGatewaysResponse
  - `gateways` GitpodV1Gateway[], required — gateways contains the list of gateways
    - `name` string, required — name is the human-readable name of the gateway. name is unique across all gateways.
    - `region` string — region is the geographical region where the gateway is located
    - `url` string, required — url of the gateway
  - `pagination` GitpodV1PaginationResponse
    - `nextToken` string — Token passed for retrieving the next set of results. Empty if there are no more results

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
