SnozeDevelopers
API referenceAssets

Read a PDF using this person's saved password

Rechecks file access and uses only the authenticated person's password. The response must never be cached publicly.

GET
/v1/workspaces/{workspaceId}/assets/{fileId}/access

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
fileId*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/assets/string/access'
Example Response
{  "data": {    "base64": "string",    "saved": true,    "unlocked": true  }}