SnozeDevelopers
API referenceConnected Accounts

Read this workspace's connection policy

Returns whether personal accounts are blocked in this workspace and whether unattended automations must run on a workspace connection. Both default to off, so a workspace that has never opened the setting reports a permissive policy. Requires `integrations:read`.

GET
/v1/workspaces/{workspaceId}/connection-policy

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

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/connection-policy'
Example Response
{  "data": {    "blockPersonalAccounts": true,    "requireWorkspaceRunAs": true  }}