---
title: "Get application secrets"
method: GET
path: "/api/applications/{id}/secrets"
tags: ["Applications"]
---

# Get application secrets

`GET /api/applications/{id}/secrets`

Get all the secrets for the application.

## Path parameters

- `id` string, required

## Response `200`

A list of secrets.

- object[]
  - `tenantId` string, required
  - `applicationId` string, required
  - `name` string, required
  - `value` string, required
  - `createdAt` number, required
  - `expiresAt` number, nullable, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
