---
title: "Get the secrets of an organization"
method: GET
path: "/organizations/{org-slug}/secrets"
tags: ["secrets"]
---

# Get the secrets of an organization

`GET /organizations/{org-slug}/secrets`

Get the secrets of an organization

## Path parameters

- `org-slug` string, required

## Response `200`

Ok

- object
  - `secrets` ServiceDtoCreatedSecretNoValue[]
    - `expand_in_step_inputs` boolean
    - `id` string
    - `is_exposed_for_pull_requests` boolean
    - `is_protected` boolean
    - `name` string
    - `scope` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found

---

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