Skip to main content
GET
/
api
/
v1
/
storage
/
sandboxes
/
{sandbox_id}
/
vault
/
{key}
Retrieve Object
curl --request GET \
  --url https://api.copass.id/api/v1/storage/sandboxes/{sandbox_id}/vault/{key} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
X-Encryption-Token
string | null
X-Encryption-Key
string | null

Path Parameters

key
string
required
sandbox_id
string
required

Query Parameters

decrypt
boolean
default:true

Decrypt data if encrypted

Response

Successful Response