Retrieve a specific secret by id
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "30790237-92eb-451d-867a-d212e22b87da",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "algfytdsgi",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-01-15T04:56:07.344-08:00",
"updated_at": "2026-01-15T04:56:07.344-08:00"
}
}
}Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "30790237-92eb-451d-867a-d212e22b87da",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "algfytdsgi",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-01-15T04:56:07.344-08:00",
"updated_at": "2026-01-15T04:56:07.344-08:00"
}
}
}