---
title: "Get TLS configs"
method: GET
path: "/public/v2/routers/configs/tls"
tags: ["Routers"]
---

# Get TLS configs

`GET /public/v2/routers/configs/tls`

## Request

- Base URL: `https://starlink.com/api`
- URL: `https://starlink.com/api/public/v2/routers/configs/tls`
- Auth: HTTP bearer

Required permission: Device command and configuration, View.<br/>Gets a paginated list of TLS configs on this account.

## Query parameters

- `page` integer

## Response `200`

Success

- TlsConfigResponseV2PaginatedServiceResponse
  - `errors` ValidationResult[], nullable
    - `memberNames` string[], nullable
    - `errorMessage` string, nullable
  - `warnings` ValidationResult[], nullable
    - `memberNames` string[], nullable
    - `errorMessage` string, nullable
  - `information` string[], nullable
  - `isValid` boolean
  - `content` TlsConfigResponseV2Paginated
    - `pageIndex` integer
    - `limit` integer
    - `isLastPage` boolean
    - `results` TlsConfigResponseV2[], nullable
      - `certificateBase64Pem` string: TLS certificate in PEM format, base64 encoded.
      - `notBefore` string, date-time: Certificate invalid before this date.
      - `notAfter` string, date-time: Certificate invalid after this date.
    - `totalCount` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Missing required permission for this endpoint or resource
- `422`: Failed to get TLS configs

---

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