---
title: "List all secrets"
method: GET
path: "/api/v1/hooks/secrets/"
tags: ["webhooks"]
---

# List all secrets

`GET /api/v1/hooks/secrets/`

A view of all the secrets for the workspaces you belong to.

## Query parameters

- `workspace_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Retrieved

- SecretList
  - `results` SecretDetail[] — A list of secrets.
    - `id` string — The ID of the secret.
    - `value` string — The secret value.
    - `workspace_id` string — The ID of the workspace that the secret belongs to.

## Other responses

- `400` — Error

---

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