cURL
curl --request GET \ --url https://copilotz.com/rest/secrets/{id} \ --header 'Authorization: Bearer <token>'
{ "name": "SECRET_NAME", "value": "SECRET_VALUE", "createdBy": 1 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
Response containing secret details.