SnozeDevelopers
API referenceConnected Accounts

Resolve shared resources for this viewer

Answers, for the signed-in viewer only, whether each referenced external resource is reachable through one of their own credentials. Never resolves through the credential of whoever placed the reference. At most 50 distinct refs per request (the payload accepts up to 400 ids before de-duplication); more is a validation error, not a truncated answer. Answers are cached per viewer and per satisfying account, positively for ten minutes and negatively for two so newly granted access appears quickly; `forceRecheck` clears the cached answers first. A probe that errors or exceeds five seconds renders as no access rather than falling back to another credential. A redacted ref the viewer cannot reach carries no name, URL or provider id.

POST
/v1/workspaces/{workspaceId}/resource-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

Request Body

application/json
  1. body
refIds*array<string>
Itemsitems <= 400
forceRecheck?boolean|null

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspaces/string/resource-access' \  -H 'Content-Type: application/json' \  -d '{  "refIds": []}'
Example Response
{  "data": [    {      "ref": {        "id": "string",        "provider": "string",        "externalType": "string",        "externalId": "string",        "displayName": "string",        "canonicalUrl": "string",        "redactName": true      },      "access": {        "state": "reachable",        "connectedAccountId": "string",        "connectionId": "string",        "accountLabel": "string"      },      "checkedAt": "string"    }  ]}