SnozeDevelopers
API referenceIntegrations

Read the content of a linked external resource

Fetches a linked resource's current content from its provider and returns it in the format the provider exposes, along with its revision, whether it is read-only, and a fallback URL when Snoze cannot render it. Requires the `resources:read` workspace permission, which is re-checked on every request before any cached copy is served. Content is served from a short-lived encrypted mirror, so a response may be up to a few minutes stale while it refreshes.

GET
/v1/workspaces/{workspaceId}/integrations/resources/{resourceId}/content
AuthorizationBearer <token>

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

In: header

Path Parameters

workspaceId*string
resourceId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/integrations/resources/string/content"
{  "data": {    "resource": {      "id": "string",      "workspaceId": "string",      "connectionId": "string",      "provider": "string",      "externalType": "string",      "externalId": "string",      "name": "string",      "surfaceKind": "generic",      "ownership": "external",      "capabilities": [        "browse"      ],      "mimeType": "string",      "canonicalUrl": "string",      "parentExternalId": "string",      "revision": "string",      "providerCreatedAt": "string",      "providerModifiedAt": "string",      "metadata": {},      "syncStatus": "current",      "lastSyncedAt": "string",      "createdAt": "string",      "updatedAt": "string"    },    "format": "json",    "content": null,    "revision": "string",    "readOnly": true,    "fallbackUrl": "string"  }}