Revenue

Local mode

Local mode is the workspace Connected sources opens before a sending workspace is linked. It comes back local and active, and the sending check stays off.

get/v1/revenue-workspaces/current

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/revenue-workspaces/current
  • Auth: HTTP bearer

Response

This workspace before it is linked.

idstring uuid required

Stable UUID primary key.

lastVerifiedAtstring date-time nullable

When the link was last verified.

mode'local' | 'linked' required

Workspace mode.

outboundOrganizationIdstring

OutboundConsole organization id.

outboundWorkspaceIdstring

OutboundConsole workspace id.

preflightAvailableboolean required

Whether policy preflight can run (linked and active).

status'active' | 'disconnected' | 'repair_required' required

Lifecycle/status slug. Subscription rows use billing states; background task runs use queued/running/succeeded/failed/stopped.

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "lastVerifiedAt": "2026-07-12T12:00:00Z",
  "mode": "local",
  "outboundOrganizationId": "org_01ABC",
  "outboundWorkspaceId": "ws_01ABC",
  "status": "active"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.