---
title: "Retrieve a list of secrets"
method: GET
path: "/secrets"
tags: ["secrets"]
---

# Retrieve a list of secrets

`GET /secrets`

Returns a list of all the secrets the user has access to

## Query parameters

- `$limit` integer
- `$skip` integer
- `$sort` object
- `filter` Secrets — A secret is used to authenticate API requests in unsecure environments (client-side, emails, etc.)
  - `id` string, required — Secret ID
  - `name` string, required — Name of the secret
  - `description` string — Description of the secret
  - `secret` string — The actual secret
  - `organization_id` string, required — The ID of the organization that owns this secret
  - `created_at` string, date-time — Creation date of the secret
  - `updated_at` string, date-time — Last update date of the secret
  - `version` number — Revision number of the secret

## Response `200`

A list of Secret objects

- Secrets[]
  - `id` string, required — Secret ID
  - `name` string, required — Name of the secret
  - `description` string — Description of the secret
  - `secret` string — The actual secret
  - `organization_id` string, required — The ID of the organization that owns this secret
  - `created_at` string, date-time — Creation date of the secret
  - `updated_at` string, date-time — Last update date of the secret
  - `version` number — Revision number of the secret

---

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