ApiEndpoints
Vault Endpoints
Manage blockchain-backed document access and verification.
Vault endpoints manage the interaction with the on-chain registry for document access and verification.
Check Access
Verify if a wallet address has access to a specific collection or document.
POST
/api/v1/vault/access/checkcurl -X POST \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"collectionId": "8f2349ef...", "walletAddress": "0x123..."}' \
https://api.sureshake.com/api/v1/vault/access/check200 OK
{
"data": {
"hasAccess": true,
"tokenType": "access",
"expiresAt": "2024-12-31T23:59:59Z",
"policyVersion": 1,
"checkedAt": "2024-01-15T10:00:00Z"
}
}Vault Health
Retrieve the current status of the blockchain registry and relayer.
GET
/api/v1/vault/healthcurl https://api.sureshake.com/api/v1/vault/health