Retrieve a specific secret by id
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "4637f253-3c32-410c-90b2-25058283c105",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "iqlmgoedzr",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-07-25T16:58:52.065-07:00",
"updated_at": "2025-07-25T16:58:52.065-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
secret found
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "4637f253-3c32-410c-90b2-25058283c105",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "iqlmgoedzr",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-07-25T16:58:52.065-07:00",
"updated_at": "2025-07-25T16:58:52.065-07:00"
}
}
}