Building a product where your own customers connect accounts and never see SmartlyQ? That is Profiles - per-end-customer sub-accounts with hosted connect links and per-account billing. Workspaces are for agency sub-accounts you manage yourself.
Passing workspace_id
Most endpoints accept an optionalworkspace_id parameter. When provided, the API:
- Verifies your API key’s user is a member of that workspace
- Scopes all returned data to that workspace
- Returns 403 Forbidden if you don’t have access
Finding your workspace ID
Use the/v1/me endpoint to list your available workspaces:
workspaces array with each workspace’s id and name.
Workspace isolation guarantees
- You can only access workspaces where your user is a member
- All create, read, update, and delete operations are scoped by
workspace_id - Passing another user’s
workspace_idreturns 403 Forbidden - Resources created without a
workspace_iddefault to your primary workspace
Endpoints that require workspace_id
Error response
If you pass aworkspace_id you don’t have access to:

