---
title: "GET /api/v1/shared-secrets"
method: GET
path: "/api/v1/shared-secrets"
tags: ["Secret Sharing"]
---

# GET /api/v1/shared-secrets

`GET /api/v1/shared-secrets`

List all shared secrets created by the authenticated user or identity in their current organization.

## Query parameters

- `offset` number
- `limit` number

## Response `200`

Default Response

- object
  - `secrets` object[], required
    - `id` string, required
    - `expiresAt` string, date-time, required
    - `userId` string, uuid, nullable
    - `orgId` string, uuid, nullable
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `expiresAfterViews` number, nullable
    - `accessType` string
    - `name` string, nullable
    - `lastViewedAt` string, date-time, nullable
    - `type` string
    - `authorizedEmails` unknown
    - `identityId` string, uuid, nullable
    - `allowExternalEmails` boolean, nullable
  - `totalCount` number, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

---

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