English
Retrieve a specific secret by id
curl --request GET \ --url https://api.rootly.com/v1/secrets/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "27acdf60-8382-4082-a5ce-b224d76bbb18", "type": "secrets", "attributes": { "kind": "built_in", "name": "ynlarhqjmv", "secret": "[REDACTED]", "hashicorp_vault_mount": "secret", "hashicorp_vault_path": null, "hashicorp_vault_version": 0, "created_at": "2025-07-05T07:48:13.269-07:00", "updated_at": "2025-07-05T07:48:13.269-07:00" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
secret found
The response is of type object.
object
Was this page helpful?