Skip to main content
GET
/
io.pocketenv.secret.getSecret
cURL
curl --request GET \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.secret.getSecret \
  --header 'Authorization: Bearer <token>'
{
  "secret": {
    "id": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The ID of the secret for which to retrieve secrets.

Response

OK

secret
object