Skip to main content
GET
/
v1
/
secrets
/
{id}
Retrieves a secret
curl --request GET \
  --url https://api.rootly.com/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "f3a6907c-903d-4ce6-a5d9-fd767e34f454",
    "type": "secrets",
    "attributes": {
      "kind": "built_in",
      "name": "sljnjeiiun",
      "secret": "[REDACTED]",
      "hashicorp_vault_mount": "secret",
      "hashicorp_vault_path": null,
      "hashicorp_vault_version": 0,
      "created_at": "2025-10-07T14:16:09.138-07:00",
      "updated_at": "2025-10-07T14:16:09.138-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

secret found

data
object
required
I