Retrieve a specific secret by id
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "72d85ed1-46f3-417e-8d21-47034a4c1501",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "whylefsrvq",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-12-24T09:28:12.118-08:00",
"updated_at": "2025-12-24T09:28:12.118-08:00"
}
}
}Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "72d85ed1-46f3-417e-8d21-47034a4c1501",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "whylefsrvq",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-12-24T09:28:12.118-08:00",
"updated_at": "2025-12-24T09:28:12.118-08:00"
}
}
}